Project

red_tape

0.0
No commit activity in last 3 years
No release in over 3 years
Extended validation using the German Bundeszentralamt für Steuern XML RPC API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.9
>= 0
~> 10.0

Runtime

~> 0.3.0
 Project Readme

RedTape

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file lib/red_tape. To experiment with that code, run bin/console for an interactive prompt.

TODO: Delete this and the text above, and describe your gem

Installation

In your Gemfile:

gem 'red_tape'

Usage

# quick syntax
RedTape.valid?('DE123456789', 'ATU33864707') => true

# if you want detailed error messages from the Bundeszentralamt
validator = RedTape.validator('DE123456789', 'FOO', company_name: 'Red Bull GmbH', city: 'Fuschl am See')

validator.valid?
=> false

validator.status
=> :invalid_country