Class: Peddler::APIs::CatalogItems20201201::ItemImages

Inherits:
Array
  • Object
show all
Defined in:
lib/peddler/apis/catalog_items_2020_12_01/item_images.rb

Overview

Images for an item in the Amazon catalog. All image variants are provided to brand owners. Otherwise, a thumbnail of the "MAIN" image variant is provided.

Class Method Summary collapse

Class Method Details

.parse(array) ⇒ Object



12
13
14
# File 'lib/peddler/apis/catalog_items_2020_12_01/item_images.rb', line 12

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