Sha256: ed1980ad54936d17030d3899060dc43514277a6346178e8a759ee84729a2f32d
Contents?: true
Size: 414 Bytes
Versions: 1
Compression:
Stored size: 414 Bytes
Contents
require 'soap/header/simplehandler' class ShipmentRequestHeader < CustomHeader NAMESPACE = 'http://tempuri.org' def initialize(shipment_request) @shipment_request = shipment_request super(XSD::QName.new(NAMESPACE, 'ShipmentRequest')) end def on_simple_outbound to_hash(@shipment_request) #{"Username" => @username, "Password" => @password, "AccessKey"=>@accessKey} end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
g4s_client-0.1.6 | lib/g4s/headers/shipment_request_header.rb |