class Vergesense::VergesenseAPI
- Vergesense::VergesenseAPI
- PlaceOS::Driver
- Reference
- Object
Defined in:
vergesense/vergesense_api.crConstant Summary
-
EMPTY_HEADERS =
{} of String => String
-
SUCCESS_RESPONSE =
{HTTP::Status::OK, EMPTY_HEADERS, nil}
Class Method Summary
Instance Method Summary
- #floor_key(space_id : String)
-
#init_sync
Performs initial sync by loading buildings / floors / spaces
- #on_load
- #on_update
-
#space_report_api(method : String, headers : Hash(String, Array(String)), body : String)
Webhook endpoint for space_report API, expects version 2
Class Method Detail
Instance Method Detail
def space_report_api(method : String, headers : Hash(String, Array(String)), body : String)
#
Webhook endpoint for space_report API, expects version 2