Class: Flexipass::Door
- Inherits:
-
Object
- Object
- Flexipass::Door
- Defined in:
- lib/flexipass/door.rb
Overview
Represents a door in the Flexipass system.
Instance Method Summary collapse
-
#initialize(client) ⇒ Door
constructor
Initializes a new instance of the Door class.
-
#list ⇒ Object
Retrieves a list of doors.
Constructor Details
#initialize(client) ⇒ Door
Initializes a new instance of the Door class.
7 8 9 |
# File 'lib/flexipass/door.rb', line 7 def initialize(client) @client = client end |
Instance Method Details
#list ⇒ Object
Retrieves a list of doors
14 15 16 |
# File 'lib/flexipass/door.rb', line 14 def list @client.send_request('GET', '/Flexipass/rest/webapi/getDoorList') end |