Sha256: 6ea8fd2e14b3f806081333e92d055c3cff4748f4fbdaf3c71e5d70b3244dfaa0

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 Bytes

Contents

module SoapObject
  module Response

    #
    # Return the xml response
    #
    def to_xml
      response.to_xml
    end

    #
    # Return value at xpath
    #
    def xpath(path)
      response.xpath(path)
    end

    #
    # Return the response as a Hash
    #
    def to_hash
      response.hash
    end

    #
    # Return the body of the message as a Hash
    #
    def body
      response.body
    end

    #
    # Return the response as a Nokogiri document
    #
    def doc
      response.doc
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
soap-object-0.6.8 lib/soap-object/response.rb