module Utils::PlaceOSHelpers

Overview

Helper to interact with PlaceOS API

Direct including types

Defined in:

controllers/utilities/placeos-helpers.cr

Constant Summary

PLACE_URI = App::PLACE_URI

Base URL of the PlaceOS instance we are interacting with

Instance Method Summary

Instance Method Detail

def check_access(groups : Array(String), check : Array(String)) #

https://docs.google.com/document/d/1OaZljpjLVueFitmFWx8xy8BT8rA2lITyPsIvSYyNNW8/edit# See the section on user-permissions


[View source]
def get_placeos_client : PlaceOS::Client #

[View source]
def get_user_calendars #

Get the list of local calendars this user has access to


[View source]
def matching_calendar_ids(allow_default = false) #

ameba:disable Metrics/CyclomaticComplexity


[View source]