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 ⇒ Fixnum
The ID of the app the license is for.
-
#company ⇒ Company
The company that has the license.
-
#company_id ⇒ Fixnum
The ID of the company that has the license.
-
#count ⇒ Fixnum
The number of items the license provides.
-
#created_at ⇒ String
readonly
The timestamp of when the license was created.
-
#desc ⇒ String
The description of the license.
-
#id ⇒ Fixnum
readonly
The (unique) ID 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.
-
#updated_at ⇒ String
readonly
The timestamp of when the license was last updated.
Instance Attribute Details
#app ⇒ App
Returns the app the license is for.
343 |
# File 'lib/lws/apps/auth.rb', line 343 belongs_to :app |
#app_id ⇒ Fixnum
Returns the ID of the app the license is for.
347 |
# File 'lib/lws/apps/auth.rb', line 347 attribute :app_id |
#company ⇒ Company
Returns the company that has the license.
351 |
# File 'lib/lws/apps/auth.rb', line 351 belongs_to :company |
#company_id ⇒ Fixnum
Returns the ID of the company that has the license.
355 |
# File 'lib/lws/apps/auth.rb', line 355 attribute :company_id |
#count ⇒ Fixnum
Returns the number of items the license provides.
359 |
# File 'lib/lws/apps/auth.rb', line 359 attribute :count |
#created_at ⇒ String (readonly)
Returns the timestamp of when the license was created.
383 |
# File 'lib/lws/apps/auth.rb', line 383 attribute :created_at |
#desc ⇒ String
Returns the description of the license.
363 |
# File 'lib/lws/apps/auth.rb', line 363 attribute :desc |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the license.
339 |
# File 'lib/lws/apps/auth.rb', line 339 attribute :id |
#key ⇒ String
Returns the key of the license.
367 |
# File 'lib/lws/apps/auth.rb', line 367 attribute :key |
#license_type ⇒ String
Returns the type of the license.
371 |
# File 'lib/lws/apps/auth.rb', line 371 attribute :license_type |
#name ⇒ String
Returns the name of the license.
375 |
# File 'lib/lws/apps/auth.rb', line 375 attribute :name |
#sku ⇒ String
Returns the stock-keeping unit of the license.
379 |
# File 'lib/lws/apps/auth.rb', line 379 attribute :sku |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the license was last updated.
387 |
# File 'lib/lws/apps/auth.rb', line 387 attribute :updated_at |