Class: Xurrency::Client

Inherits:
Delegator
  • Object
show all
Includes:
Singleton
Defined in:
lib/xurrency.rb

Overview

Soap client.

Constant Summary collapse

WSDL =
"http://xurrency.com/api.wsdl"

Instance Method Summary collapse

Constructor Details

#initializeClient

Returns a new instance of Client.



16
17
18
19
# File 'lib/xurrency.rb', line 16

def initialize
  @driver = SOAP::WSDLDriverFactory.new(WSDL).create_rpc_driver
  @driver.endpoint_url = "http://www.xurrency.com/servidor_soap.php"
end

Instance Method Details

#__getobj__Object



21
22
23
# File 'lib/xurrency.rb', line 21

def __getobj__
  @driver
end