Class: Peddler::APIs::ProductPricingV0::NumberOfOfferListingsList

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

Overview

The number of active offer listings for the item that was submitted. The listing count is returned by condition, one for each listing condition value that is returned.

Class Method Summary collapse

Class Method Details

.parse(array) ⇒ Object



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

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