Class: SOAP::Filter::Handler

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) on_inbound(xml, opt)

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

- (Object) on_outbound(envelope, opt)

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