phusion / eurovat

European Union VAT number utilities
MIT License
25 stars 7 forks source link

Does not seem to be working with savon 2 #1

Open gerard76 opened 11 years ago

gerard76 commented 11 years ago

I am getting the error: Some code tries to initialize Savon with the "http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl" (String) Savon 2 expects a Hash of options for creating a new client and executing requests. Please read the updated documentation for version 2: http://savonrb.com/version2.html

JhonnyJGomez commented 10 years ago

this error is because you are using a command different a the version of Savon. Test this: client = Savon.client(wsdl: "http://example.com?wsdl")

happy coding Jhonny.