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

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

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) ⇒ Object



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