Given header is a SOAPHeaderItem or nil.
# File lib/soap/header/handler.rb, line 35 35: def on_inbound(header, mustunderstand = false) 36: # do something. 37: end
# File lib/soap/header/handler.rb, line 54 54: def on_inbound_headeritem(header, item) 55: on_inbound(item.element, item.mustunderstand) 56: end
Should return a SOAP/OM, a SOAPHeaderItem or nil.
# File lib/soap/header/handler.rb, line 30 30: def on_outbound 31: nil 32: end
# File lib/soap/header/handler.rb, line 39 39: def on_outbound_headeritem(header) 40: arity = self.method(:on_outbound).arity 41: item = (arity == 0) ? on_outbound : on_outbound(header) 42: if item.nil? 43: nil 44: elsif item.is_a?(::SOAP::SOAPHeaderItem) 45: item.elename = @elename 46: item 47: else 48: item.elename = @elename 49: ::SOAP::SOAPHeaderItem.new(item, @mustunderstand, @encodingstyle, 50: @target_actor) 51: end 52: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.