Class: Amazon::RecordSalesRanks::Ranking
- Inherits:
-
Data
- Object
- Data
- Amazon::RecordSalesRanks::Ranking
- Defined in:
- app/services/amazon/record_sales_ranks.rb
Instance Attribute Summary collapse
-
#category_kind ⇒ Object
readonly
Returns the value of attribute category_kind.
-
#category_name ⇒ Object
readonly
Returns the value of attribute category_name.
-
#product_category_id ⇒ Object
readonly
Returns the value of attribute product_category_id.
-
#rank ⇒ Object
readonly
Returns the value of attribute rank.
Instance Method Summary collapse
-
#initialize(product_category_id: nil, category_kind: nil, category_name: nil, rank: nil) ⇒ Ranking
constructor
A new instance of Ranking.
Constructor Details
#initialize(product_category_id: nil, category_kind: nil, category_name: nil, rank: nil) ⇒ Ranking
Returns a new instance of Ranking.
17 |
# File 'app/services/amazon/record_sales_ranks.rb', line 17 def initialize(product_category_id: nil, category_kind: nil, category_name: nil, rank: nil) = super |
Instance Attribute Details
#category_kind ⇒ Object (readonly)
Returns the value of attribute category_kind
16 17 18 |
# File 'app/services/amazon/record_sales_ranks.rb', line 16 def category_kind @category_kind end |
#category_name ⇒ Object (readonly)
Returns the value of attribute category_name
16 17 18 |
# File 'app/services/amazon/record_sales_ranks.rb', line 16 def category_name @category_name end |
#product_category_id ⇒ Object (readonly)
Returns the value of attribute product_category_id
16 17 18 |
# File 'app/services/amazon/record_sales_ranks.rb', line 16 def product_category_id @product_category_id end |
#rank ⇒ Object (readonly)
Returns the value of attribute rank
16 17 18 |
# File 'app/services/amazon/record_sales_ranks.rb', line 16 def rank @rank end |