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.



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

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

#on_outbound(envelope, opt) ⇒ Object

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



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

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