Class: Peddler::APIs::ProductPricingV0::OfferDetailList

Inherits:
Array
  • Object
show all
Defined in:
lib/peddler/apis/product_pricing_v0/offer_detail_list.rb,
sig/peddler/apis/product_pricing_v0.rbs

Overview

A list of offer details. The list is the same length as the TotalOfferCount in the Summary or 20, whichever is less.

Class Method Summary collapse

Class Method Details

.parse(array) ⇒ OfferDetailList

Parameters:

  • (Array[untyped])

Returns:



12
13
14
# File 'lib/peddler/apis/product_pricing_v0/offer_detail_list.rb', line 12

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