Class: Peddler::Types::CatalogItems20220401::ItemDimensions

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

Overview

An array of dimensions that are associated with the item in the Amazon catalog, grouped by ‘marketplaceId`.

Class Method Summary collapse

Class Method Details

.parse(array) ⇒ Object



13
14
15
# File 'lib/peddler/types/catalog_items_2022_04_01/item_dimensions.rb', line 13

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