README.md in ibandit-0.5.0 vs README.md in ibandit-0.6.0

- old
+ new

@@ -10,11 +10,12 @@ 3. Validate an IBAN's check digits and structure Ibandit also provides helper methods for validating some countries' local account details. -The gem is kept up to date using the IBAN structure file from SWIFT. +The gem is kept up to date using the IBAN structure file from SWIFT and the +Bankleitzahl file from the Deutsche Bundesbank. ## Usage ### Installation @@ -307,10 +308,19 @@ branch_code: '0023', account_number: '0023843000578' ) iban.iban # => "PT50000200230023843000578" +# San Marino +iban = Ibandit::IBAN.new( + country_code: 'SM', + bank_code: '05428', + branch_code: '11101', + account_number: '000000123456' +) +iban.iban # => "SM88X0542811101000000123456" + # Slovakia iban = Ibandit::IBAN.new( country_code: 'SK', bank_code: '1200', account_number_prefix: '19', @@ -340,17 +350,15 @@ country_code: 'ES', account_number: '23100001180000012345' ) iban.iban # => "ES8023100001180000012345" -# San Marino +# Sweden iban = Ibandit::IBAN.new( - country_code: 'SM', - bank_code: '05428', - branch_code: '11101', - account_number: '000000123456' + country_code: 'SE', + account_number: '7507-1211203' ) -iban.iban # => "SM88X0542811101000000123456" +iban.iban # => "SE2680000000075071211203" ``` ## Other libraries Another gem, [iban-tools](https://github.com/alphasights/iban-tools), also