Class: DataObject::Salesforce::Connection::HeaderHandler

Inherits:
SOAP::Header::SimpleHandler
  • Object
show all
Defined in:
lib/do_salesforce/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/do_salesforce/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/do_salesforce/connection.rb', line 13

def on_simple_outbound
  @value
end