Class: DataMapper::Salesforce::Connection::HeaderHandler

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

Instance Method Summary collapse

Constructor Details

#initialize(tag, value) ⇒ HeaderHandler

Returns a new instance of HeaderHandler.



4
5
6
7
8
# File 'lib/dm-salesforce/connection.rb', line 4

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



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

def on_simple_outbound
  @value
end