Class: AnalyticsReport
- Inherits:
-
Object
- Object
- AnalyticsReport
- Extended by:
- ActiveSupport::Concern
- Includes:
- ActiveModel::Conversion, ActiveModel::Model, ActiveModel::Validations
- Defined in:
- lib/analytics_report.rb
Instance Attribute Summary collapse
-
#error_message ⇒ Object
:rows is an array of hashes where each hash is a row containing AnalyticsReportField objects.
-
#rows ⇒ Object
:rows is an array of hashes where each hash is a row containing AnalyticsReportField objects.
-
#status ⇒ Object
:rows is an array of hashes where each hash is a row containing AnalyticsReportField objects.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ AnalyticsReport
constructor
A new instance of AnalyticsReport.
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_message ⇒ Object
: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 end |
#rows ⇒ Object
: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 |
#status ⇒ Object
: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 |