ibanizator 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ibanizator.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4516010c74f2fff18512e7fab52aea278531edf
|
4
|
+
data.tar.gz: 2cc32ba114285a09e3650580d2dca904d0229eb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87eeea15696057f3a361695d878b079fa7afa3f1fdb91bb8057aed1cc8a99ee600394dfe622357037272eea0be12c7060d33b7ce65c7a3a48169904f2a637cdd
|
7
|
+
data.tar.gz: bade9a4c18b8efd786440cc7e119e6c26470334f24018e43d2a28a0bd533472e833b4dc0a44390966922fd65f781704ef0e8b8b7b81e2b368c161098f91b4151
|
data/lib/ibanizator.rb
CHANGED
@@ -34,12 +34,16 @@ class Ibanizator
|
|
34
34
|
validator.validate_iban(iban)
|
35
35
|
end
|
36
36
|
|
37
|
+
# <b>DEPRECATED:</b> Please use <tt>Ibanizator.bank_db.bank_by_bank_code</tt> instead.
|
37
38
|
def bic bank_code
|
39
|
+
warn "[DEPRECATION] `Ibanizator#bank_name` is deprecated. Please use `Ibanizator::bank_db.bank_by_bank_code` instead."
|
38
40
|
bank_db = SwiftBic::BankDb.new bank_code
|
39
41
|
bank_db.bic
|
40
42
|
end
|
41
43
|
|
44
|
+
# <b>DEPRECATED:</b> Please use <tt>Ibanizator.bank_db.bank_by_bank_code</tt> instead.
|
42
45
|
def bank_name bank_code
|
46
|
+
warn "[DEPRECATION] `Ibanizator#bank_name` is deprecated. Please use `Ibanizator::bank_db.bank_by_bank_code` instead."
|
43
47
|
bank_db = SwiftBic::BankDb.new bank_code
|
44
48
|
bank_db.bank_name
|
45
49
|
end
|