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

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

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

Parameters:

  • (Array[untyped])

Returns:



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