Class: LWS::Auth::License

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

Overview

The license class

Instance Attribute Summary collapse

Instance Attribute Details

#appApp

Returns the app the license is for.

Returns:

  • (App)

    the app the license is for



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

belongs_to :app

#app_idFixnum

Returns the ID of the app the license is for.

Returns:

  • (Fixnum)

    the ID of the app the license is for



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

attribute :app_id

#companyCompany

Returns the company that has the license.

Returns:

  • (Company)

    the company that has the license



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

belongs_to :company

#company_idFixnum

Returns the ID of the company that has the license.

Returns:

  • (Fixnum)

    the ID of the company that has the license



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

attribute :company_id

#countFixnum

Returns the number of items the license provides.

Returns:

  • (Fixnum)

    the number of items the license provides



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

attribute :count

#created_atString (readonly)

Returns the timestamp of when the license was created.

Returns:

  • (String)

    the timestamp of when the license was created



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

attribute :created_at

#descString

Returns the description of the license.

Returns:

  • (String)

    the description of the license



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

attribute :desc

#idFixnum (readonly)

Returns the (unique) ID of the license.

Returns:

  • (Fixnum)

    the (unique) ID of the license



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

attribute :id

#keyString

Returns the key of the license.

Returns:

  • (String)

    the key of the license



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

attribute :key

#license_typeString

Returns the type of the license.

Returns:

  • (String)

    the type of the license



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

attribute :license_type

#nameString

Returns the name of the license.

Returns:

  • (String)

    the name of the license



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

attribute :name

#skuString

Returns the stock-keeping unit of the license.

Returns:

  • (String)

    the stock-keeping unit of the license



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

attribute :sku

#updated_atString (readonly)

Returns the timestamp of when the license was last updated.

Returns:

  • (String)

    the timestamp of when the license was last updated



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

attribute :updated_at