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.
-
#icon ⇒ String
The icon ID/name of 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
#accounts ⇒ Array<Account>
Returns the accounts using the app.
83 |
# File 'lib/lws/apps/auth.rb', line 83 has_many :accounts |
#app_key ⇒ String
Returns the (unique) internal key used for the app.
87 |
# File 'lib/lws/apps/auth.rb', line 87 attribute :app_key |
#autoassign ⇒ Boolean
Returns whether the app is automatically assigned to a newly created account and/or company.
92 |
# File 'lib/lws/apps/auth.rb', line 92 attribute :autoassign |
#companies ⇒ Array<Company>
Returns the companies using the app.
96 |
# File 'lib/lws/apps/auth.rb', line 96 has_many :companies |
#icon ⇒ String
Returns the icon ID/name of the app.
100 |
# File 'lib/lws/apps/auth.rb', line 100 attribute :icon |
#licenses ⇒ Array<License>
Returns the licenses that provide access to the app.
104 |
# File 'lib/lws/apps/auth.rb', line 104 has_many :licenses |
#name ⇒ String
Returns the name of the app.
113 |
# File 'lib/lws/apps/auth.rb', line 113 attribute :name |
#order_priority ⇒ Integer?
Returns the order priority of the app with respect to the other apps.
109 |
# File 'lib/lws/apps/auth.rb', line 109 attribute :order_priority |
#secret ⇒ String
Returns the shared secred used for logging in to the app.
117 |
# File 'lib/lws/apps/auth.rb', line 117 attribute :secret |
#url ⇒ String
Returns the web location (URL) of the app.
121 |
# File 'lib/lws/apps/auth.rb', line 121 attribute :url |