Class: Amazon::RecordSalesRanks::Ranking

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(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_kindObject (readonly)

Returns the value of attribute category_kind

Returns:

  • (Object)

    the current value of category_kind



16
17
18
# File 'app/services/amazon/record_sales_ranks.rb', line 16

def category_kind
  @category_kind
end

#category_nameObject (readonly)

Returns the value of attribute category_name

Returns:

  • (Object)

    the current value of category_name



16
17
18
# File 'app/services/amazon/record_sales_ranks.rb', line 16

def category_name
  @category_name
end

#product_category_idObject (readonly)

Returns the value of attribute product_category_id

Returns:

  • (Object)

    the current value of product_category_id



16
17
18
# File 'app/services/amazon/record_sales_ranks.rb', line 16

def product_category_id
  @product_category_id
end

#rankObject (readonly)

Returns the value of attribute rank

Returns:

  • (Object)

    the current value of rank



16
17
18
# File 'app/services/amazon/record_sales_ranks.rb', line 16

def rank
  @rank
end