Sha256: 54a939e389e899a839c8720f03a28dd18f47350ef0e89b5f1473d03d77f094ed
Contents?: true
Size: 689 Bytes
Versions: 24
Compression:
Stored size: 689 Bytes
Contents
require 'lolsoap/wsdl' require 'lolsoap/request' require 'lolsoap/envelope' require 'lolsoap/response' module LolSoap class Client attr_reader :wsdl # @param wsdl a WSDL object, or a string that will be parsed into one def initialize(wsdl) @wsdl = wsdl.respond_to?(:to_str) ? WSDL.parse(wsdl.to_str) : wsdl end # @return [LolSoap::Request] A request for the API action you want to perform def request(name) Request.new(Envelope.new(wsdl, wsdl.operation(name))) end # @return [LolSoap::Response] A response object for an API action that has been performed def response(request, raw) Response.parse(request, raw) end end end
Version data entries
24 entries across 24 versions & 1 rubygems