Class: Peddler::Types::ShippingV1::RateList
- Inherits:
-
Array
- Object
- Array
- Peddler::Types::ShippingV1::RateList
- Defined in:
- lib/peddler/types/shipping_v1/rate_list.rb
Overview
A list of all the available rates that can be used to send the shipment.
Class Method Summary collapse
Class Method Details
.parse(array) ⇒ Object
13 14 15 |
# File 'lib/peddler/types/shipping_v1/rate_list.rb', line 13 def parse(array) new(array.map { |item| Rate.parse(item) }) end |