Class: Peddler::APIs::CatalogItems20220401::ItemDimensions

Inherits:
Array
  • Object
show all
Defined in:
lib/peddler/apis/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



11
12
13
# File 'lib/peddler/apis/catalog_items_2022_04_01/item_dimensions.rb', line 11

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