Class: ShippingScale::Shipment
- Defined in:
- lib/shipping_scale/packaging/shipment.rb
Instance Attribute Summary
Attributes inherited from Packaging
Instance Method Summary collapse
-
#initialize(packages) ⇒ Shipment
constructor
A new instance of Shipment.
- #prices ⇒ Object
Methods inherited from Packaging
Constructor Details
#initialize(packages) ⇒ Shipment
Returns a new instance of Shipment.
3 4 5 |
# File 'lib/shipping_scale/packaging/shipment.rb', line 3 def initialize(packages) @packages = packages end |
Instance Method Details
#prices ⇒ Object
7 8 9 |
# File 'lib/shipping_scale/packaging/shipment.rb', line 7 def prices response.prices end |