Class: Peddler::APIs::ShippingV2::UnmanifestedShipmentLocationList

Inherits:
Array
  • Object
show all
Defined in:
lib/peddler/apis/shipping_v2/unmanifested_shipment_location_list.rb

Overview

A list of UnmanifestedShipmentLocation

Class Method Summary collapse

Class Method Details

.parse(array) ⇒ Object



11
12
13
# File 'lib/peddler/apis/shipping_v2/unmanifested_shipment_location_list.rb', line 11

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