Class: Shipping::IPSShippingSoap
- Inherits:
-
SOAP::RPC::Driver
- Object
- SOAP::RPC::Driver
- Shipping::IPSShippingSoap
- Defined in:
- lib/g4s/shipping/defaultDriver.rb
Constant Summary collapse
- DefaultEndpointUrl =
"https://ws.g4si.com/IPSshipping.asmx"
- Methods =
[ [ "http://WS.G4SI.COM/CalculateEstimatedPrice", "calculateEstimatedPrice", [ ["in", "parameters", ["::SOAP::SOAPElement", "http://WS.G4SI.COM/", "CalculateEstimatedPrice"]], ["out", "parameters", ["::SOAP::SOAPElement", "http://WS.G4SI.COM/", "CalculateEstimatedPriceResponse"]] ], { :request_style => :document, :request_use => :literal, :response_style => :document, :response_use => :literal, :faults => {} } ], [ "http://WS.G4SI.COM/CreateShipment", "createShipment", [ ["in", "parameters", ["::SOAP::SOAPElement", "http://WS.G4SI.COM/", "CreateShipment"]], ["out", "parameters", ["::SOAP::SOAPElement", "http://WS.G4SI.COM/", "CreateShipmentResponse"]] ], { :request_style => :document, :request_use => :literal, :response_style => :document, :response_use => :literal, :faults => {} } ], [ "http://WS.G4SI.COM/VoidShipment", "voidShipment", [ ["in", "parameters", ["::SOAP::SOAPElement", "http://WS.G4SI.COM/", "VoidShipment"]], ["out", "parameters", ["::SOAP::SOAPElement", "http://WS.G4SI.COM/", "VoidShipmentResponse"]] ], { :request_style => :document, :request_use => :literal, :response_style => :document, :response_use => :literal, :faults => {} } ] ]
Instance Method Summary collapse
-
#initialize(endpoint_url = nil) ⇒ IPSShippingSoap
constructor
A new instance of IPSShippingSoap.
Constructor Details
#initialize(endpoint_url = nil) ⇒ IPSShippingSoap
Returns a new instance of IPSShippingSoap.
38 39 40 41 42 43 44 |
# File 'lib/g4s/shipping/defaultDriver.rb', line 38 def initialize(endpoint_url = nil) endpoint_url ||= DefaultEndpointUrl super(endpoint_url, nil) self.mapping_registry = DefaultMappingRegistry::EncodedRegistry self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry init_methods end |