Class: Seam::Resources::UnmanagedDevice::Properties::AccessoryKeypad

Inherits:
BaseResource
  • Object
show all
Defined in:
lib/seam/resources/unmanaged_device.rb

Defined Under Namespace

Classes: Battery

Instance Attribute Summary collapse

Attributes inherited from BaseResource

#client, #data

Instance Method Summary collapse

Methods inherited from BaseResource

#[], date_accessor, #initialize, #inspect, load_from_response, resource_accessor, resource_accessors, resource_list_accessor, resource_list_accessors, #update_from_response

Constructor Details

This class inherits a constructor from Seam::Resources::BaseResource

Instance Attribute Details

#is_connectedBoolean

Indicates if an accessory keypad is connected to the device.

Returns:

  • (Boolean)


54
55
56
# File 'lib/seam/resources/unmanaged_device.rb', line 54

def is_connected
  @is_connected
end

Instance Method Details

#batteryBattery?

Keypad battery properties.

Returns:



51
# File 'lib/seam/resources/unmanaged_device.rb', line 51

resource_accessor :battery, Battery