Class: Amazon::SalesRankMetrics::Result
- Inherits:
-
Data
- Object
- Data
- Amazon::SalesRankMetrics::Result
- Defined in:
- app/services/amazon/sales_rank_metrics.rb
Instance Attribute Summary collapse
-
#rows ⇒ Object
readonly
Returns the value of attribute rows.
-
#window_days ⇒ Object
readonly
Returns the value of attribute window_days.
Delegated Instance Attributes collapse
-
#empty? ⇒ Object
Alias for Rows#empty?.
Instance Method Summary collapse
-
#initialize(rows: [], window_days: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(rows: [], window_days: nil) ⇒ Result
Returns a new instance of Result.
51 |
# File 'app/services/amazon/sales_rank_metrics.rb', line 51 def initialize(rows: [], window_days: nil) = super |
Instance Attribute Details
#rows ⇒ Object (readonly)
Returns the value of attribute rows
50 51 52 |
# File 'app/services/amazon/sales_rank_metrics.rb', line 50 def rows @rows end |
#window_days ⇒ Object (readonly)
Returns the value of attribute window_days
50 51 52 |
# File 'app/services/amazon/sales_rank_metrics.rb', line 50 def window_days @window_days end |
Instance Method Details
#empty? ⇒ Object
Alias for Rows#empty?
52 |
# File 'app/services/amazon/sales_rank_metrics.rb', line 52 delegate :empty?, to: :rows |