Sha256: 5e82046e021c22a791f955b497dda445a76fd168c964ee085fa73601eed1f6cc
Contents?: true
Size: 798 Bytes
Versions: 4
Compression:
Stored size: 798 Bytes
Contents
require 'defaultDriver.rb' require 'soap/header/simplehandler' require 'orderedhash' class SessionHeaderHandler < SOAP::Header::SimpleHandler HeaderName = XSD::QName.new('urn:partner.soap.sforce.com', 'SessionHeader') attr_accessor :sessionid def initialize super(HeaderName) @sessionid = nil end def on_simple_outbound if @sessionid {'sessionId' => @sessionid} else nil # no header end end end class CallOptionsHandler < SOAP::Header::SimpleHandler HeaderName = XSD::QName.new('urn:partner.soap.sforce.com', 'CallOptions') attr_accessor :client def initialize super(HeaderName) @client = nil end def on_simple_outbound if @client {'client' => @client} else nil # no header end end end
Version data entries
4 entries across 4 versions & 3 rubygems
Version | Path |
---|---|
aq1018-rforce-0.5.2 | wsdl/sforceDriver.rb |
aq1018-rforce-0.5.1 | wsdl/sforceDriver.rb |
DerGuteMoritz-rforce-0.4.2 | wsdl/sforceDriver.rb |
rforce-raygao-1.0.0 | wsdl/sforceDriver.rb |