class PointGrab::CogniPoint

Defined in:

point_grab/cogni_point.cr

Class Method Summary

Macro Summary

Instance Method Summary

Class Method Detail

def self.driver_interface : String #

Macro Detail

macro get_request(path, result_type) #

[View source]

Instance Method Detail

def area(site_id : String, building_id : String, floor_id : String, area_id : String) #

[View source]
def areas(site_id : String, building_id : String, floor_id : String) #

[View source]
def building(site_id : String, building_id : String) #

[View source]
def building_areas(site_id : String, building_id : String) #

[View source]
def buildings(site_id : String) #

[View source]
def customers #

[View source]
def delete_subscription(id : String) #

[View source]
def expire_token! #

[View source]
def floor(site_id : String, building_id : String, floor_id : String) #

[View source]
def floors(site_id : String, building_id : String) #

[View source]
def get_token #

[View source]
def handlers #

[View source]
def on_update #

[View source]
def site(site_id : String) #

[View source]
def sites #

[View source]
def subscribe(handler_uri : String, auth_token : String = UUID.random.to_s, events : NotificationType = NotificationType::Counting) #

[View source]
def subscriptions #
Description copied from class PlaceOS::Driver

provides access to the modules subscriptions tracker


[View source]
def token_expired? #

[View source]
def update_count(count_json : String) #

[View source]
def update_subscription(id : String, started : Bool = true) #

[View source]