Class | SOAP::Header::SimpleHandler |
In: |
lib/soap/header/simplehandler.rb
|
Parent: | SOAP::Header::Handler |
# File lib/soap/header/simplehandler.rb, line 18 18: def initialize(elename) 19: super(elename) 20: end
# File lib/soap/header/simplehandler.rb, line 36 36: def on_inbound(header, mustunderstand) 37: h = header.respond_to?(:to_obj) ? header.to_obj : header.data 38: on_simple_inbound(h, mustunderstand) 39: end
# File lib/soap/header/simplehandler.rb, line 31 31: def on_outbound 32: h = on_simple_outbound 33: h ? SOAPElement.from_obj(h, elename.namespace) : nil 34: end