Class: Seam::Resources::Device::Properties::AccessoryKeypad

Inherits:
BaseResource
  • Object
show all
Defined in:
lib/seam/resources/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)


81
82
83
# File 'lib/seam/resources/device.rb', line 81

def is_connected
  @is_connected
end

Instance Method Details

#batteryBattery?

Keypad battery properties.

Returns:



78
# File 'lib/seam/resources/device.rb', line 78

resource_accessor :battery, Battery