Class: Seam::Resources::Device::Properties::TtlockMetadata
- Inherits:
-
BaseResource
- Object
- BaseResource
- Seam::Resources::Device::Properties::TtlockMetadata
- Defined in:
- lib/seam/resources/device.rb
Defined Under Namespace
Classes: Features, WirelessKeypads
Instance Attribute Summary collapse
-
#feature_value ⇒ Object
Feature value for a TTLock device.
-
#has_gateway ⇒ Object
Indicates whether a TTLock device has a gateway.
-
#lock_alias ⇒ Object
Lock alias for a TTLock device.
-
#lock_id ⇒ Object
Lock ID for a TTLock device.
-
#timezone_raw_offset_ms ⇒ Object
Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app.
Attributes inherited from BaseResource
Method Summary
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
#feature_value ⇒ Object
Feature value for a TTLock device.
626 627 628 |
# File 'lib/seam/resources/device.rb', line 626 def feature_value @feature_value end |
#has_gateway ⇒ Object
Indicates whether a TTLock device has a gateway.
628 629 630 |
# File 'lib/seam/resources/device.rb', line 628 def has_gateway @has_gateway end |
#lock_alias ⇒ Object
Lock alias for a TTLock device.
630 631 632 |
# File 'lib/seam/resources/device.rb', line 630 def lock_alias @lock_alias end |
#lock_id ⇒ Object
Lock ID for a TTLock device.
632 633 634 |
# File 'lib/seam/resources/device.rb', line 632 def lock_id @lock_id end |
#timezone_raw_offset_ms ⇒ Object
Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value.
634 635 636 |
# File 'lib/seam/resources/device.rb', line 634 def timezone_raw_offset_ms @timezone_raw_offset_ms end |