Class: Peddler::Types::ShippingV2::PackageDocumentDetailList

Inherits:
Array
  • Object
show all
Defined in:
lib/peddler/types/shipping_v2/package_document_detail_list.rb

Overview

A list of post-purchase details about a package that will be shipped using a shipping service.

Class Method Summary collapse

Class Method Details

.parse(array) ⇒ Object



13
14
15
# File 'lib/peddler/types/shipping_v2/package_document_detail_list.rb', line 13

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