README.markdown in kontoapi-rails-0.2.5 vs README.markdown in kontoapi-rails-0.2.6

- old
+ new

@@ -1,8 +1,11 @@ Konto API Rails Validator ========================= +[![Gem Version](https://badge.fury.io/rb/kontoapi-rails.png)](http://badge.fury.io/rb/kontoapi-rails) +[![Code Climate](https://codeclimate.com/github/GeneralScripting/kontoapi-rails.png)](https://codeclimate.com/github/GeneralScripting/kontoapi-rails) + This library is a wrapper for the Konto API (https://www.kontoapi.de/). It provides a validation method for ActiveRecord models that checks if a given account number and bank code represent a valid combination. INSTALLATION ------------ @@ -13,14 +16,15 @@ ----- Add an initializer (e.g. kontoapi.rb) in `config/initializers`: KontoAPI.setup do |config| - # mendatory + # mandatory config.api_key = '<your-api-key>' # get one at https://www.kontoapi.de/ # optional (with defaults) config.timeout = 10 + config.disable_for = ['development', 'test'] end Then, in one of the models you want to validate bank account data with: class PaymentData < ActiveRecord::Base @@ -81,7 +85,7 @@ end Copyright --------- -Copyright (c) 2011 General Scripting - Jan Schwenzien. See LICENSE for further details. +Copyright (c) 2011-2013 General Scripting UG (haftungsbeschränkt). See LICENSE for further details.