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
-
#account_ids ⇒ Array<Integer>
The IDs of the accounts using the app.
-
#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.
-
#company_ids ⇒ Array<Integer>
The IDS of the companies using the app.
-
#icon ⇒ String
The icon ID/name of the app.
-
#license_ids ⇒ Array<Integer>
The IDs of the licenses that provide access to the app.
-
#licenses ⇒ Array<License>
The licenses that provide access to the app.
-
#name ⇒ String
The name of the app.
-
#order_priority ⇒ Integer?
The order priority of the app with respect to the other apps.
-
#secret ⇒ String
The shared secred used for logging in to the app.
-
#url ⇒ String
The web location (URL) of the app.
Attributes inherited from Generic::Model
#created_at, #id, #updated_at, #url_html
Method Summary
Methods inherited from Generic::Model
#deep_dup, #dig, #reload, #rollback, #save
Instance Attribute Details
#account_ids ⇒ Array<Integer>
Returns the IDs of the accounts using the app.
98 |
# File 'lib/lws/apps/auth.rb', line 98 attribute :account_ids |
#accounts ⇒ Array<Account>
Returns the accounts using the app.
102 |
# File 'lib/lws/apps/auth.rb', line 102 has_many :accounts |
#app_key ⇒ String
Returns the (unique) internal key used for the app.
106 |
# File 'lib/lws/apps/auth.rb', line 106 attribute :app_key |
#autoassign ⇒ Boolean
Returns whether the app is automatically assigned to a newly created account and/or company.
111 |
# File 'lib/lws/apps/auth.rb', line 111 attribute :autoassign |
#companies ⇒ Array<Company>
Returns the companies using the app.
119 |
# File 'lib/lws/apps/auth.rb', line 119 has_many :companies |
#company_ids ⇒ Array<Integer>
Returns the IDS of the companies using the app.
115 |
# File 'lib/lws/apps/auth.rb', line 115 attribute :company_ids |
#icon ⇒ String
Returns the icon ID/name of the app.
123 |
# File 'lib/lws/apps/auth.rb', line 123 attribute :icon |
#license_ids ⇒ Array<Integer>
Returns the IDs of the licenses that provide access to the app.
128 |
# File 'lib/lws/apps/auth.rb', line 128 attribute :license_ids |
#licenses ⇒ Array<License>
Returns the licenses that provide access to the app.
132 |
# File 'lib/lws/apps/auth.rb', line 132 has_many :licenses |
#name ⇒ String
Returns the name of the app.
141 |
# File 'lib/lws/apps/auth.rb', line 141 attribute :name |
#order_priority ⇒ Integer?
Returns the order priority of the app with respect to the other apps.
137 |
# File 'lib/lws/apps/auth.rb', line 137 attribute :order_priority |
#secret ⇒ String
Returns the shared secred used for logging in to the app.
145 |
# File 'lib/lws/apps/auth.rb', line 145 attribute :secret |
#url ⇒ String
Returns the web location (URL) of the app.
149 |
# File 'lib/lws/apps/auth.rb', line 149 attribute :url |