Class SOAP::Header::SimpleHandler
In: soap/header/simplehandler.rb
Parent: SOAP::Header::Handler

Methods

Public Class methods

[Source]

# File soap/header/simplehandler.rb, line 18
  def initialize(elename)
    super(elename)
  end

Public Instance methods

[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

[Source]

# File soap/header/simplehandler.rb, line 31
  def on_outbound
    h = on_simple_outbound
    h ? SOAPElement.from_obj(h, elename.namespace) : nil
  end

Given header is a Hash, String or nil.

[Source]

# File soap/header/simplehandler.rb, line 28
  def on_simple_inbound(header, mustunderstand)
  end

Should return a Hash, String or nil.

[Source]

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

[Validate]

ruby-doc.org is hosted and maintained by James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, Arizona. The site was created in 2002 as part of the Ruby Documentation Project to promote the Ruby language and to help other Ruby hackers.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.