README.markdown in kontoapi-rails-0.2.1 vs README.markdown in kontoapi-rails-0.2.2
- old
+ new
@@ -40,10 +40,10 @@
#
# If validations fails, an error within the standard ActiveRecord I18n scopes
# will be added to the :account_number_field:
# :invalid <-- if it is invalid
# :timeout <-- if :on_timeout is set to :fail and the api call timed out
- validates_account_data
+ validates_bank_account
# IBAN validation
# Check if the given IBAN is valid
# Takes any of the following options (the defaults are shown here):
# :allow_nil => true, <-- don't validate if nil