Class: SOAP::Filter::Handler

Inherits:
Object
  • Object
show all
Defined in:
lib/soap/filter/handler.rb

Instance Method Summary collapse

Instance Method Details

#on_inbound(xml, opt) ⇒ Object

should return xml. opt can be updated for other filters.



23
24
25
26
# File 'lib/soap/filter/handler.rb', line 23

def on_inbound(xml, opt)
  # do something.
  xml
end

#on_outbound(envelope, opt) ⇒ Object

should return envelope. opt can be updated for other filters.



17
18
19
20
# File 'lib/soap/filter/handler.rb', line 17

def on_outbound(envelope, opt)
  # do something.
  envelope
end