Class: Amazon::RecordSalesRanks::Result
- Inherits:
-
Data
- Object
- Data
- Amazon::RecordSalesRanks::Result
- Defined in:
- app/services/amazon/record_sales_ranks.rb
Instance Attribute Summary collapse
-
#rankings ⇒ Object
readonly
Returns the value of attribute rankings.
-
#recorded_count ⇒ Object
readonly
Returns the value of attribute recorded_count.
Instance Method Summary collapse
-
#initialize(recorded_count: nil, rankings: []) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(recorded_count: nil, rankings: []) ⇒ Result
Returns a new instance of Result.
21 |
# File 'app/services/amazon/record_sales_ranks.rb', line 21 def initialize(recorded_count: nil, rankings: []) = super |
Instance Attribute Details
#rankings ⇒ Object (readonly)
Returns the value of attribute rankings
20 21 22 |
# File 'app/services/amazon/record_sales_ranks.rb', line 20 def rankings @rankings end |
#recorded_count ⇒ Object (readonly)
Returns the value of attribute recorded_count
20 21 22 |
# File 'app/services/amazon/record_sales_ranks.rb', line 20 def recorded_count @recorded_count end |