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



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

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



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

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



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

attribute :created_at

#idFixnum (readonly)

Returns the (unique) ID of the usage report.

Returns:

  • (Fixnum)

    the (unique) ID of the usage report



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

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.)



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

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



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

attribute :updated_at