Class: LWS::Auth::UsageReport

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

Overview

The usage report class

Instance Attribute Summary collapse

Instance Attribute Details

#companyCompany

Returns the company that the usage report is for.

Returns:

  • (Company)

    the company that the usage report is for



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

belongs_to :company

#company_idFixnum

Returns the ID of the company that the usage report is for.

Returns:

  • (Fixnum)

    the ID of the company that the usage report is for



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

attribute :company_id

#created_atString (readonly)

Returns the timestamp of when the usage report was created.

Returns:

  • (String)

    the timestamp of when the usage report was created



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

attribute :created_at

#idFixnum (readonly)

Returns the (unique) ID of the usage report.

Returns:

  • (Fixnum)

    the (unique) ID of the usage report



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

attribute :id

#objectString?

Returns the (partial) HTML document of the usage report. (The value is nil until the report has been successfully generated.).

Returns:

  • (String, nil)

    the (partial) HTML document of the usage report. (The value is nil until the report has been successfully generated.)



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

attribute :object

#updated_atString (readonly)

Returns the timestamp of when the usage report was last updated.

Returns:

  • (String)

    the timestamp of when the usage report was last updated



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

attribute :updated_at