class GoBright::API
- GoBright::API
- PlaceOS::Driver
- Reference
- Object
Defined in:
gobright/api.crClass Method Summary
Instance Method Summary
-
#bookings(starting : Int64, ending : Int64, location_id : String | Array(String) | Nil = nil, space_id : String | Array(String) | Nil = nil)
the list of booking occurances in the time period specified
- #fetch(location : String) : String
-
#live_occupancy(location : String, type : SpaceType | Nil = nil)
the occupancy status of the spaces
-
#locations
the list of buildings, levels, areas etc
- #on_load
- #on_update
-
#spaces(location : String | Nil = nil, types : SpaceType | Array(SpaceType) | Nil = nil)
a list of spaces in the locations.
-
#spaces_state(location : String | Nil = nil, types : SpaceType | Array(SpaceType) | Nil = nil)
Paged list of state per space, filtered by location/spacetype
Class Method Detail
Instance Method Detail
def bookings(starting : Int64, ending : Int64, location_id : String | Array(String) | Nil = nil, space_id : String | Array(String) | Nil = nil)
#
the list of booking occurances in the time period specified
the occupancy status of the spaces
a list of spaces in the locations. rooms, desks and parking
Paged list of state per space, filtered by location/spacetype