Permalink
Browse files

no comment...

  • Loading branch information...
Thibault Poncelet
Thibault Poncelet committed May 8, 2012
1 parent 9f84168 commit 0e32d745300096efcabd70bf51d440d534d92cda
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/ovh_savoni/soapi.rb
View
@@ -3,10 +3,11 @@ class OvhSavoni::SoAPI
class << self
attr_accessor :wsdl_path, :soap
end
- # Initialize soap connection
- @soap = Savon::Client.new{ wsdl.document = OvhSavoni::SoAPI.wsdl_path }
# Store WDSL path and soap client as class instance variable
@wsdl_path = File.expand_path("../../soapi-re-1.35.wsdl" , __FILE__)
+ # Initialize soap connection
+ @soap = Savon::Client.new{ wsdl.document = OvhSavoni::SoAPI.wsdl_path }
+
# Initialize the class structure on the basis of the WSDL file
# Meta definition of one method for each action

0 comments on commit 0e32d74

Please sign in to comment.