Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.document
.gitignore
20100220_wsdl.xml
LICENSE
README.markdown
Rakefile
VERSION
europe_vat_number_check.gemspec

README.markdown

europe_vat_number_check

This project was an excuse to:

  • remember how to create a Rubygem, publish it to Gemcutter and host it on Github
  • learn how to do the above with Jeweler
  • remember how easy it is to use a soap webservice on Ruby

I'm not sure about the Ruby semantic of the whole thing :/

Example:

$ irb
>> 507868510.valid_european_vat_number?("PT")
=> [true, {:name=>"WEBREAKSTUFF LDA", :address=>"RUA CAMARA PESTANA LOTE 37 LOJA A\nCOIMBRA\n3030-163 COIMBRA"}]

== Copyright

Copyright (c) 2010 Tiago Pinto. See LICENSE for details.