Class: Peddler::APIs::ShippingV2::CarrierAccountAttributes

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

Overview

A list of all attributes required by the carrier in order to successfully link the merchant's account

Class Method Summary collapse

Class Method Details

.parse(array) ⇒ Object



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

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