Class: LWS::Auth::App
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::Auth::App
- Defined in:
- lib/lws/apps/auth.rb
Overview
The app class
Instance Attribute Summary collapse
-
#accounts ⇒ Array<Account>
The accounts using the app.
-
#app_key ⇒ String
The (unique) internal key used for the app.
-
#autoassign ⇒ Boolean
Whether the app is automatically assigned to a newly created account and/or company.
-
#companies ⇒ Array<Company>
The companies using the app.
-
#created_at ⇒ String
readonly
The timestamp of when the app was created.
-
#icon ⇒ String
The icon ID/name of the app.
-
#id ⇒ Fixnum
readonly
The (unique) ID of the account.
-
#licenses ⇒ Array<License>
The licenses that provide access to the app.
-
#name ⇒ String
The name of the app.
-
#order_priority ⇒ Fixnum?
The order priority of the app with respect to the other apps.
-
#secret ⇒ String
The shared secred used for logging in to the app.
-
#updated_at ⇒ String
readonly
The timestamp of when the app was last updated.
-
#url ⇒ String
The web location (URL) of the app.
Instance Attribute Details
#accounts ⇒ Array<Account>
Returns the accounts using the app.
108 |
# File 'lib/lws/apps/auth.rb', line 108 has_many :accounts |
#app_key ⇒ String
Returns the (unique) internal key used for the app.
112 |
# File 'lib/lws/apps/auth.rb', line 112 attribute :app_key |
#autoassign ⇒ Boolean
Returns whether the app is automatically assigned to a newly created account and/or company.
117 |
# File 'lib/lws/apps/auth.rb', line 117 attribute :autoassign |
#companies ⇒ Array<Company>
Returns the companies using the app.
121 |
# File 'lib/lws/apps/auth.rb', line 121 has_many :companies |
#created_at ⇒ String (readonly)
Returns the timestamp of when the app was created.
150 |
# File 'lib/lws/apps/auth.rb', line 150 attribute :created_at |
#icon ⇒ String
Returns the icon ID/name of the app.
125 |
# File 'lib/lws/apps/auth.rb', line 125 attribute :icon |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the account.
104 |
# File 'lib/lws/apps/auth.rb', line 104 attribute :id |
#licenses ⇒ Array<License>
Returns the licenses that provide access to the app.
129 |
# File 'lib/lws/apps/auth.rb', line 129 has_many :licenses |
#name ⇒ String
Returns the name of the app.
138 |
# File 'lib/lws/apps/auth.rb', line 138 attribute :name |
#order_priority ⇒ Fixnum?
Returns the order priority of the app with respect to the other apps.
134 |
# File 'lib/lws/apps/auth.rb', line 134 attribute :order_priority |
#secret ⇒ String
Returns the shared secred used for logging in to the app.
142 |
# File 'lib/lws/apps/auth.rb', line 142 attribute :secret |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the app was last updated.
154 |
# File 'lib/lws/apps/auth.rb', line 154 attribute :updated_at |
#url ⇒ String
Returns the web location (URL) of the app.
146 |
# File 'lib/lws/apps/auth.rb', line 146 attribute :url |