bankster icon indicating copy to clipboard operation
bankster copied to clipboard

Adds a struct to Bankster.Bic

Open warmwaffles opened this issue 9 months ago • 2 comments

  • Uses regex named capture to extract the data.
  • Handles 8-11 BIC values.
  • Adds a to_string/2 function for pretty output.
  • Defines the String.Chars protocol for Bic.

warmwaffles avatar May 03 '24 22:05 warmwaffles

IF this is acceptable, I was thinking about potentially adding some structure components to IBAN and BBAN as well.

warmwaffles avatar May 03 '24 22:05 warmwaffles

@railsmechanic I've implemented the feedback. Changed from new to parse and added a parse! function.

warmwaffles avatar May 23 '24 18:05 warmwaffles

Many thanks for your PR. 👍

railsmechanic avatar May 28 '24 05:05 railsmechanic

Now to see if I can extract the information from the iban numbers 😄

warmwaffles avatar May 28 '24 15:05 warmwaffles

Now to see if I can extract the information from the iban numbers.

Please give me short reminder whether it works, then'll wait with the release of a new version 0.5.0

railsmechanic avatar Jun 10 '24 06:06 railsmechanic

It's gonna be a bit, I got yanked into a different direction and will come back to this.

warmwaffles avatar Jun 10 '24 13:06 warmwaffles