Class: Peddler::APIs::ProductPricingV0::NumberOfOffers
- Inherits:
-
Array
- Object
- Array
- Peddler::APIs::ProductPricingV0::NumberOfOffers
- Defined in:
- lib/peddler/apis/product_pricing_v0/number_of_offers.rb
Overview
A list that contains the total number of offers information for given conditions and fulfillment channels.
Class Method Summary collapse
Class Method Details
.parse(array) ⇒ Object
11 12 13 |
# File 'lib/peddler/apis/product_pricing_v0/number_of_offers.rb', line 11 def parse(array) new(array.map { |item| OfferCountType.parse(item) }) end |