README.md in ibandit-0.10.1 vs README.md in ibandit-0.11.0
- old
+ new
@@ -104,11 +104,11 @@
: The SWIFT identifer for the branch to which the IBAN refers (not used in all countries)
`swift_account_number`
: The account number for the account
-`iban_national_id`
+`swift_national_id`
: The national ID for the bank / branch as documented by SWIFT
The SWIFT IBAN components are all available as methods on an `IBAN` object:
```ruby
@@ -117,10 +117,10 @@
iban.country_code # => "GB"
iban.check_digits # => "82"
iban.swift_bank_code # => "WEST"
iban.swift_branch_code # => "123456"
iban.swift_account_number # => "98765432"
-iban.iban_national_id # => "WEST123456"
+iban.swift_national_id # => "WEST123456"
```
In addition, it is often useful to extract any local check digits from the IBAN.
These are available through a `local_check_digits` method: