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.
310 |
# File 'lib/lws/apps/auth.rb', line 310 belongs_to :account |
#account_id ⇒ Fixnum
Returns the ID of the account that the device belongs to.
314 |
# File 'lib/lws/apps/auth.rb', line 314 attribute :account_id |
#created_at ⇒ String (readonly)
Returns the timestamp of when the device was created.
326 |
# File 'lib/lws/apps/auth.rb', line 326 attribute :created_at |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the device.
306 |
# File 'lib/lws/apps/auth.rb', line 306 attribute :id |
#name ⇒ String
Returns the name of the device.
318 |
# File 'lib/lws/apps/auth.rb', line 318 attribute :name |
#tokens ⇒ Array<Token>
Returns the tokens available for the device.
322 |
# File 'lib/lws/apps/auth.rb', line 322 attribute :tokens |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the device was last updated.
330 |
# File 'lib/lws/apps/auth.rb', line 330 attribute :updated_at |