Class: LWS::Auth::License

Inherits:
Generic::Model show all
Defined in:
lib/lws/apps/auth.rb

Overview

The license class

Instance Attribute Summary collapse

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

#appApp

Returns the app the license is for.

Returns:

  • (App)

    the app the license is for



288
# File 'lib/lws/apps/auth.rb', line 288

belongs_to :app

#app_idInteger

Returns the ID of the app the license is for.

Returns:

  • (Integer)

    the ID of the app the license is for



292
# File 'lib/lws/apps/auth.rb', line 292

attribute :app_id

#companyCompany

Returns the company that has the license.

Returns:

  • (Company)

    the company that has the license



296
# File 'lib/lws/apps/auth.rb', line 296

belongs_to :company

#company_idInteger

Returns the ID of the company that has the license.

Returns:

  • (Integer)

    the ID of the company that has the license



300
# File 'lib/lws/apps/auth.rb', line 300

attribute :company_id

#countInteger

Returns the number of items the license provides.

Returns:

  • (Integer)

    the number of items the license provides



304
# File 'lib/lws/apps/auth.rb', line 304

attribute :count

#descString

Returns the description of the license.

Returns:

  • (String)

    the description of the license



308
# File 'lib/lws/apps/auth.rb', line 308

attribute :desc

#keyString

Returns the key of the license.

Returns:

  • (String)

    the key of the license



312
# File 'lib/lws/apps/auth.rb', line 312

attribute :key

#license_typeString

Returns the type of the license.

Returns:

  • (String)

    the type of the license



316
# File 'lib/lws/apps/auth.rb', line 316

attribute :license_type

#nameString

Returns the name of the license.

Returns:

  • (String)

    the name of the license



320
# File 'lib/lws/apps/auth.rb', line 320

attribute :name

#skuString

Returns the stock-keeping unit of the license.

Returns:

  • (String)

    the stock-keeping unit of the license



324
# File 'lib/lws/apps/auth.rb', line 324

attribute :sku