Class: DataMapper::Adapters::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.



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

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



15
16
17
# File 'lib/dm-salesforce-adapter/connection.rb', line 15

def on_simple_outbound
  @value
end