Class: LWS::Auth::License
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::Auth::License
- Defined in:
- lib/lws/apps/auth.rb
Overview
The license class
Instance Attribute Summary collapse
-
#app ⇒ App
The app the license is for.
-
#app_id ⇒ Integer
The ID of the app the license is for.
-
#company ⇒ Company
The company that has the license.
-
#company_id ⇒ Integer
The ID of the company that has the license.
-
#count ⇒ Integer
The number of items the license provides.
-
#desc ⇒ String
The description of the license.
-
#key ⇒ String
The key of the license.
-
#license_type ⇒ String
The type of the license.
-
#name ⇒ String
The name of the license.
-
#sku ⇒ String
The stock-keeping unit of the license.
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
#app ⇒ App
Returns the app the license is for.
328 |
# File 'lib/lws/apps/auth.rb', line 328 belongs_to :app |
#app_id ⇒ Integer
Returns the ID of the app the license is for.
332 |
# File 'lib/lws/apps/auth.rb', line 332 attribute :app_id |
#company ⇒ Company
Returns the company that has the license.
336 |
# File 'lib/lws/apps/auth.rb', line 336 belongs_to :company |
#company_id ⇒ Integer
Returns the ID of the company that has the license.
340 |
# File 'lib/lws/apps/auth.rb', line 340 attribute :company_id |
#count ⇒ Integer
Returns the number of items the license provides.
344 |
# File 'lib/lws/apps/auth.rb', line 344 attribute :count |
#desc ⇒ String
Returns the description of the license.
348 |
# File 'lib/lws/apps/auth.rb', line 348 attribute :desc |
#key ⇒ String
Returns the key of the license.
352 |
# File 'lib/lws/apps/auth.rb', line 352 attribute :key |
#license_type ⇒ String
Returns the type of the license.
356 |
# File 'lib/lws/apps/auth.rb', line 356 attribute :license_type |
#name ⇒ String
Returns the name of the license.
360 |
# File 'lib/lws/apps/auth.rb', line 360 attribute :name |
#sku ⇒ String
Returns the stock-keeping unit of the license.
364 |
# File 'lib/lws/apps/auth.rb', line 364 attribute :sku |