In Files

  • soap/header/simplehandler.rb

Class/Module Index [+]

Quicksearch

SOAP::Header::SimpleHandler

Public Class Methods

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

Public Instance Methods

on_inbound(header, mustunderstand) click to toggle source
 
               # File soap/header/simplehandler.rb, line 36
def on_inbound(header, mustunderstand)
  h = header.respond_to?(:to_obj) ? header.to_obj : header.data
  on_simple_inbound(h, mustunderstand)
end
            
on_outbound() click to toggle source
 
               # File soap/header/simplehandler.rb, line 31
def on_outbound
  h = on_simple_outbound
  h ? SOAPElement.from_obj(h, elename.namespace) : nil
end
            
on_simple_inbound(header, mustunderstand) click to toggle source

Given header is a Hash, String or nil.

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

Should return a Hash, String or nil.

 
               # File soap/header/simplehandler.rb, line 23
def on_simple_outbound
  nil
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus