Class: Peddler::APIs::ShippingV2::ChargeList
- Inherits:
-
Array
- Object
- Array
- Peddler::APIs::ShippingV2::ChargeList
- Defined in:
- lib/peddler/apis/shipping_v2/charge_list.rb
Overview
A list of charges based on the shipping service charges applied on a package.
Class Method Summary collapse
Class Method Details
.parse(array) ⇒ Object
11 12 13 |
# File 'lib/peddler/apis/shipping_v2/charge_list.rb', line 11 def parse(array) new(array.map { |item| ChargeComponent.parse(item) }) end |