Class: SalesforceAdapter::Connection::HeaderHandler

Inherits:
SOAP::Header::SimpleHandler
  • Object
show all
Defined in:
lib/dm-salesforce-adapter/connection.rb

Instance Method Summary collapse

Constructor Details

#initialize(tag, value) ⇒ HeaderHandler

Returns a new instance of HeaderHandler.


8
9
10
11
12
# File 'lib/dm-salesforce-adapter/connection.rb', line 8

def initialize(tag, value)
  super(XSD::QName.new('urn:enterprise.soap.sforce.com', tag))
  @tag = tag
  @value = value
end

Instance Method Details

#on_simple_outboundObject


13
14
15
# File 'lib/dm-salesforce-adapter/connection.rb', line 13

def on_simple_outbound
  @value
end