$baseURL
$baseURL : null|array
Base API URL
Base API URL comprised of environment variables passed to the ORM constructor.
ORM Room Client
Communicates with an ORM API to preform room operations.
$orm : null|\OpenResourceManager\ORM
ORM Connection
The current ORM connection.
__construct(\OpenResourceManager\ORM $orm)
Client Constructor
Constructs a client.
\OpenResourceManager\ORM | $orm |
getORM() : \OpenResourceManager\ORM
Get ORM Connection
Returns the current ORM object
store(string $code, integer $room_number, string $room_label = null, integer $building_id = null, string $building_code = null, integer $floor_number = null, string $floor_label = null) : \Unirest\Response
Store Room
Create or update a room, by it's code.
string | $code | |
integer | $room_number | |
string | $room_label | |
integer | $building_id | |
string | $building_code | |
integer | $floor_number | |
string | $floor_label |