Class: Seam::Clients::BaseClient
- Inherits:
-
Object
- Object
- Seam::Clients::BaseClient
- Defined in:
- lib/seam/clients/base_client.rb
Direct Known Subclasses
AccessCodes, ActionAttempts, ConnectWebviews, ConnectedAccounts, Devices, Events, Locks, UnmanagedAccessCodes, UnmanagedDevices, Workspaces
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client) ⇒ BaseClient
constructor
A new instance of BaseClient.
- #request_seam(*attrs) ⇒ Object
- #request_seam_object(*attrs) ⇒ Object
Constructor Details
#initialize(client) ⇒ BaseClient
Returns a new instance of BaseClient.
8 9 10 |
# File 'lib/seam/clients/base_client.rb', line 8 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
6 7 8 |
# File 'lib/seam/clients/base_client.rb', line 6 def client @client end |
Instance Method Details
#request_seam(*attrs) ⇒ Object
16 17 18 |
# File 'lib/seam/clients/base_client.rb', line 16 def request_seam(*attrs) client.request_seam(*attrs) end |
#request_seam_object(*attrs) ⇒ Object
12 13 14 |
# File 'lib/seam/clients/base_client.rb', line 12 def request_seam_object(*attrs) client.request_seam_object(*attrs) end |