Class: Peddler::Types::CatalogItems20220401::ItemBrowseClassifications

Inherits:
Array
  • Object
show all
Defined in:
lib/peddler/types/catalog_items_2022_04_01/item_browse_classifications.rb

Overview

An array of classifications (browse nodes) that is associated with the item in the Amazon catalog, grouped by ‘marketplaceId`.

Class Method Summary collapse

Class Method Details

.parse(array) ⇒ Object



14
15
16
# File 'lib/peddler/types/catalog_items_2022_04_01/item_browse_classifications.rb', line 14

def parse(array)
  new(array.map { |item| ItemBrowseClassificationsByMarketplace.parse(item) })
end