README.md in ibandit-0.3.2 vs README.md in ibandit-0.3.3
- old
+ new
@@ -69,11 +69,11 @@
```ruby
module ModulusChecker
def self.valid_bank_code?(iban_string)
some_codes
end
-
+
def self.valid_account_number?(iban_string)
some_codes
end
end
@@ -221,10 +221,19 @@
branch_code: '200000',
account_number: '55779911'
)
iban.iban # => "GB60BARC20000055779911"
+# Greece
+iban = Ibandit::IBAN.new(
+ country_code: 'GR',
+ bank_code: '011',
+ branch_code: '0125',
+ account_number: '0000000012300695'
+)
+iban.iban # => "GR16011012500000000012300695"
+
# Ireland
iban = Ibandit::IBAN.new(
country_code: 'IE',
bank_code: 'AIBK', # optional if a BIC finder is configured
branch_code: '931152',
@@ -340,11 +349,9 @@
branch_code: '11101',
account_number: '000000123456'
)
iban.iban # => "SM88X0542811101000000123456"
```
-
-Support for Greece and Malta is coming soon.
## Other libraries
Another gem, [iban-tools](https://github.com/alphasights/iban-tools), also
exists and is an excellent choice if you only require basic IBAN validation.