Class: SimpleShipping::Fedex::ShipmentRequest
- Inherits:
-
Request
- Object
- Abstract::Request
- Request
- SimpleShipping::Fedex::ShipmentRequest
- Defined in:
- lib/simple_shipping/fedex/shipment_request.rb
Overview
The model that represents shipment request to FedEx.
Instance Attribute Summary
Attributes inherited from Abstract::Request
Instance Method Summary collapse
-
#initialize(credentials, shipment) ⇒ ShipmentRequest
constructor
A new instance of ShipmentRequest.
-
#response_class ⇒ Object
:nodoc:.
Methods inherited from Request
Methods inherited from Abstract::Request
Constructor Details
#initialize(credentials, shipment) ⇒ ShipmentRequest
Returns a new instance of ShipmentRequest.
4 5 6 7 |
# File 'lib/simple_shipping/fedex/shipment_request.rb', line 4 def initialize(credentials, shipment) super @type = :process_shipment end |
Instance Method Details
#response_class ⇒ Object
:nodoc:
10 11 12 |
# File 'lib/simple_shipping/fedex/shipment_request.rb', line 10 def response_class ShipmentResponse end |