Files

Class Index [+]

Quicksearch

SOAP::Header::SimpleHandler

Public Class Methods

new(elename) click to toggle source
    # File lib/soap/header/simplehandler.rb, line 18
18:   def initialize(elename)
19:     super(elename)
20:   end

Public Instance Methods

on_inbound(header, mustunderstand) click to toggle source
    # 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
on_outbound() click to toggle source
    # 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
on_simple_inbound(header, mustunderstand) click to toggle source

Given header is a Hash, String or nil.

    # File lib/soap/header/simplehandler.rb, line 28
28:   def on_simple_inbound(header, mustunderstand)
29:   end
on_simple_outbound() click to toggle source

Should return a Hash, String or nil.

    # File lib/soap/header/simplehandler.rb, line 23
23:   def on_simple_outbound
24:     nil
25:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.