Class: LWS::Auth::Device
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::Auth::Device
- Defined in:
- lib/lws/apps/auth.rb
Overview
Instance Attribute Summary collapse
-
#account ⇒ Account
The account that the device belongs to.
-
#account_id ⇒ Fixnum
The ID of the account that the device belongs to.
-
#created_at ⇒ String
readonly
The timestamp of when the device was created.
-
#id ⇒ Fixnum
readonly
The (unique) ID of the device.
-
#name ⇒ String
The name of the device.
-
#tokens ⇒ Array<Token>
The tokens available for the device.
-
#updated_at ⇒ String
readonly
The timestamp of when the device was last updated.
Instance Attribute Details
#account ⇒ Account
Returns the account that the device belongs to.
313 |
# File 'lib/lws/apps/auth.rb', line 313 belongs_to :account |
#account_id ⇒ Fixnum
Returns the ID of the account that the device belongs to.
317 |
# File 'lib/lws/apps/auth.rb', line 317 attribute :account_id |
#created_at ⇒ String (readonly)
Returns the timestamp of when the device was created.
329 |
# File 'lib/lws/apps/auth.rb', line 329 attribute :created_at |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the device.
309 |
# File 'lib/lws/apps/auth.rb', line 309 attribute :id |
#name ⇒ String
Returns the name of the device.
321 |
# File 'lib/lws/apps/auth.rb', line 321 attribute :name |
#tokens ⇒ Array<Token>
Returns the tokens available for the device.
325 |
# File 'lib/lws/apps/auth.rb', line 325 attribute :tokens |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the device was last updated.
333 |
# File 'lib/lws/apps/auth.rb', line 333 attribute :updated_at |