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
264 |
# File 'lib/lws/apps/auth.rb', line 264 belongs_to :account |
#account_id ⇒ Integer
268 |
# File 'lib/lws/apps/auth.rb', line 268 attribute :account_id |
#name ⇒ String
272 |
# File 'lib/lws/apps/auth.rb', line 272 attribute :name |
#tokens ⇒ Array<Token>
276 |
# File 'lib/lws/apps/auth.rb', line 276 attribute :tokens |