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.
255 |
# File 'lib/lws/apps/auth.rb', line 255 belongs_to :account |
#account_id ⇒ Integer
Returns the ID of the account that the device belongs to.
259 |
# File 'lib/lws/apps/auth.rb', line 259 attribute :account_id |
#name ⇒ String
Returns the name of the device.
263 |
# File 'lib/lws/apps/auth.rb', line 263 attribute :name |
#tokens ⇒ Array<Token>
Returns the tokens available for the device.
267 |
# File 'lib/lws/apps/auth.rb', line 267 attribute :tokens |