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 ⇒ Integer
The ID of the account that the device belongs to.
-
#name ⇒ String
The name of the device.
-
#tokens ⇒ Array<Token>
The tokens available for the device.
Attributes inherited from Generic::Model
#created_at, #id, #updated_at, #url, #url_html
Method Summary
Methods inherited from Generic::Model
#deep_dup, #dig, #reload, #rollback, #save
Instance Attribute Details
#account ⇒ Account
Returns the account that the device belongs to.
306 |
# File 'lib/lws/apps/auth.rb', line 306 belongs_to :account |
#account_id ⇒ Integer
Returns the ID of the account that the device belongs to.
310 |
# File 'lib/lws/apps/auth.rb', line 310 attribute :account_id |
#name ⇒ String
Returns the name of the device.
314 |
# File 'lib/lws/apps/auth.rb', line 314 attribute :name |
#tokens ⇒ Array<Token>
Returns the tokens available for the device.
318 |
# File 'lib/lws/apps/auth.rb', line 318 attribute :tokens |