src/ruby/bank.rb in ifsc-2.0.6 vs src/ruby/bank.rb in ifsc-2.0.7
- old
+ new
@@ -1,7 +1,9 @@
# frozen_string_literal: true
-
+# The bank.rb file is generated from `bank.rb.tpl` using constants
+# from banknames.json. Run `make generate-constants` to
+# update this file
module Razorpay
module IFSC
module Bank
AACX = :AACX
ABBL = :ABBL
@@ -76,10 +78,11 @@
APGX = :APGX
APJX = :APJX
APMC = :APMC
APMX = :APMX
APNX = :APNX
+ APRR = :APRR
APRX = :APRX
APSX = :APSX
ARBL = :ARBL
ARCX = :ARCX
ARMX = :ARMX
@@ -106,20 +109,22 @@
AZUX = :AZUX
BACB = :BACB
BACX = :BACX
BADX = :BADX
BAGX = :BAGX
+ BALB = :BALB
BALX = :BALX
BANX = :BANX
BARA = :BARA
BARB = :BARB
BARC = :BARC
BARX = :BARX
BASX = :BASX
BAUX = :BAUX
BAVX = :BAVX
BAWX = :BAWX
+ BBDX = :BBDX
BBKM = :BBKM
BBLX = :BBLX
BBRX = :BBRX
BBSX = :BBSX
BBUX = :BBUX
@@ -330,10 +335,11 @@
DNSB = :DNSB
DNSX = :DNSX
DOBX = :DOBX
DOHB = :DOHB
DRGX = :DRGX
+ DSAX = :DSAX
DSBX = :DSBX
DSCB = :DSCB
DSHX = :DSHX
DSPX = :DSPX
DSUX = :DSUX
@@ -475,13 +481,15 @@
ITBL = :ITBL
ITCX = :ITCX
ITDX = :ITDX
IUCB = :IUCB
IUCX = :IUCX
+ IXXX = :IXXX
JACX = :JACX
JAKA = :JAKA
JALX = :JALX
+ JAMX = :JAMX
JANA = :JANA
JANX = :JANX
JASB = :JASB
JASX = :JASX
JAUX = :JAUX
@@ -872,10 +880,11 @@
NOBX = :NOBX
NOIX = :NOIX
NOSC = :NOSC
NPCX = :NPCX
NPKX = :NPKX
+ NPPX = :NPPX
NRDX = :NRDX
NRMX = :NRMX
NSBB = :NSBB
NSBX = :NSBX
NSCX = :NSCX
@@ -931,10 +940,11 @@
PDUX = :PDUX
PGBX = :PGBX
PGCX = :PGCX
PGRX = :PGRX
PGTX = :PGTX
+ PHIX = :PHIX
PITX = :PITX
PJSB = :PJSB
PKBX = :PKBX
PKDX = :PKDX
PKGB = :PKGB
@@ -1231,10 +1241,11 @@
SVRX = :SVRX
SVSH = :SVSH
SVSX = :SVSX
SWMX = :SWMX
SWSX = :SWSX
+ SXXX = :SXXX
SYNB = :SYNB
TACX = :TACX
TADX = :TADX
TAMX = :TAMX
TAPX = :TAPX
@@ -1491,12 +1502,9 @@
ZSHX = :ZSHX
ZSJX = :ZSJX
ZSKX = :ZSKX
ZSLX = :ZSLX
ZSMX = :ZSMX
-
- SXXX = :SXXX
- JAMX = :JAMX
class << self
def get_details(code)
h = data[code]
h[:bank_code] = (h[:micr][3..5] if h.key? :micr)