Class: Amazon::RecordSalesRanks::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/amazon/record_sales_ranks.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#rankingsObject (readonly)

Returns the value of attribute rankings

Returns:

  • (Object)

    the current value of rankings



20
21
22
# File 'app/services/amazon/record_sales_ranks.rb', line 20

def rankings
  @rankings
end

#recorded_countObject (readonly)

Returns the value of attribute recorded_count

Returns:

  • (Object)

    the current value of recorded_count



20
21
22
# File 'app/services/amazon/record_sales_ranks.rb', line 20

def recorded_count
  @recorded_count
end