class SOAP::Header::SimpleHandler
Public Class Methods
new(elename)
click to toggle source
Calls superclass method
SOAP::Header::Handler::new
# File lib/soap/header/simplehandler.rb, line 19 def initialize(elename) super(elename) end
Public Instance Methods
on_inbound(header, mustunderstand)
click to toggle source
# File lib/soap/header/simplehandler.rb, line 37 def on_inbound(header, mustunderstand) h = header.respond_to?(:to_obj) ? header.to_obj : header.data on_simple_inbound(h, mustunderstand) end
on_outbound()
click to toggle source
# File lib/soap/header/simplehandler.rb, line 32 def on_outbound h = on_simple_outbound h ? SOAPElement.from_obj(h, elename.namespace) : nil end
on_simple_inbound(header, mustunderstand)
click to toggle source
Given header is a Hash, String or nil.
# File lib/soap/header/simplehandler.rb, line 29 def on_simple_inbound(header, mustunderstand) end
on_simple_outbound()
click to toggle source
Should return a Hash, String or nil.
# File lib/soap/header/simplehandler.rb, line 24 def on_simple_outbound nil end