Class: AnalyticsReport

Inherits:
Object
  • Object
show all
Extended by:
ActiveSupport::Concern
Includes:
ActiveModel::Conversion, ActiveModel::Model, ActiveModel::Validations
Defined in:
lib/analytics_report.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ AnalyticsReport

Returns a new instance of AnalyticsReport.



16
17
18
19
20
21
22
# File 'lib/analytics_report.rb', line 16

def initialize(params={})
  params.each do |attr, value|
    self.public_send("#{attr}=", value)
  end if params

  super()
end

Instance Attribute Details

#error_messageObject

:rows is an array of hashes where each hash is a row containing AnalyticsReportField objects



26
27
28
# File 'lib/analytics_report.rb', line 26

def error_message
  @error_message
end

#rowsObject

:rows is an array of hashes where each hash is a row containing AnalyticsReportField objects



26
27
28
# File 'lib/analytics_report.rb', line 26

def rows
  @rows
end

#statusObject

:rows is an array of hashes where each hash is a row containing AnalyticsReportField objects



26
27
28
# File 'lib/analytics_report.rb', line 26

def status
  @status
end