Skip to content


Subversion checkout URL

You can clone with
Download ZIP
tree: 97f191977f
Fetching contributors…

Cannot retrieve contributors at this time

68 lines (58 sloc) 2.662 kB
<!doctype html>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>Vatman by neilmiddleton</title>
<link rel="stylesheet" href="stylesheets/styles.css">
<link rel="stylesheet" href="stylesheets/pygment_trac.css">
<script src="javascripts/scale.fix.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!--[if lt IE 9]>
<script src="//"></script>
<div class="wrapper">
<p>A gem that checks VAT numbers against the Europa web service</p>
<p class="view"><a href="">View the Project on GitHub <small>neilmiddleton/Vatman</small></a></p>
<li><a href="">Download <strong>ZIP File</strong></a></li>
<li><a href="">Download <strong>TAR Ball</strong></a></li>
<li><a href="">Fork On <strong>GitHub</strong></a></li>
<p>vatman is a library for checking VAT numbers against the Europa webservice.
This is the ONLY way to check if a VAT number is genuine and in use.</p>
<pre><code>vat_number ='GB', 802925148)
vat_number.valid? =&gt; true =&gt; 'MONOCHROME LIMITED'
vat_number.address =&gt; 'SUITE K\nTHE PAVILLIONS\n1 WESTERN ROAD\nEPSOM\nSURREY\nKT17 1JG'
<pre><code>gem install vatman
<p>and then</p>
<pre><code>require 'vatman'
<h2>Note on Patches/Pull Requests</h2>
<li>Fork the project.</li>
<li>Make your feature addition or bug fix.</li>
<li>Add tests for it. This is important so I don’t break it in a future version unintentionally.</li>
<li>Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)</li>
<li>Send me a pull request. Bonus points for topic branches.</li>
<p>This project is maintained by <a href="">neilmiddleton</a></p>
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="">orderedlist</a></small></p>
<!--[if !IE]><script>fixScale(document);</script><!--<![endif]-->
Jump to Line
Something went wrong with that request. Please try again.