Class: Peddler::APIs::MerchantFulfillmentV0::ItemList

Inherits:
Array
  • Object
show all
Defined in:
lib/peddler/apis/merchant_fulfillment_v0/item_list.rb

Overview

The list of items you want to include in a shipment.

Class Method Summary collapse

Class Method Details

.parse(array) ⇒ Object



11
12
13
# File 'lib/peddler/apis/merchant_fulfillment_v0/item_list.rb', line 11

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