Method: SimpleShipping::Ups::ShipConfirmRequest#body
- Defined in:
- lib/simple_shipping/ups/ship_confirm_request.rb
#body ⇒ Object
Builds a request from shipment object.
12 13 14 15 16 17 18 19 20 |
# File 'lib/simple_shipping/ups/ship_confirm_request.rb', line 12 def body { 'common:Request' => { 'common:RequestOption' => REQUEST_OPTION }, 'Shipment' => ShipmentBuilder.build(@shipment, @options), 'LabelSpecification' => label_specification, :order! => ['common:Request', 'Shipment', 'LabelSpecification'] } end |