Sha256: 819516bda271ad01aa0b2d75f05abd1f0853b62dc218c112e3d5dd593f7cc63f

Contents?: true

Size: 1.64 KB

Versions: 1

Compression:

Stored size: 1.64 KB

Contents

module NgBankParser
	class Banks
    BANK_DEFINITIONS = [{
		    key: "gtb",
		    name: "Guaranty Trust Bank",
		    parsers: [{
					format: "excel",
					valid: "lib/ng-bank-parser/fixtures/gtb-excel-valid.xlsx",
					invalid: "lib/ng-bank-parser/fixtures/gtb-excel-invalid.pdf",
					extensions: ["xls","xlsx"]
			}]
		  },{
				key: "hb",
				name: "Heritage Bank",
				parsers: [{
					format: "pdf",
					valid: "lib/ng-bank-parser/fixtures/hb-pdf-valid.pdf",
					invalid: "lib/ng-bank-parser/fixtures/hb-pdf-invalid.pdf",
					extensions: ["pdf"]
			}]
			},{
		    key: "uba",
		    name: "United Bank for Africa",
		    parsers: [{
					format: "pdf",
					valid: "lib/ng-bank-parser/fixtures/uba-pdf-valid.pdf",
					invalid: "lib/ng-bank-parser/fixtures/uba-pdf-invalid.pdf",
					extensions: ["pdf"]
				}]
		  },{
				 key: "firstbank",
				 name: "First Bank",
				 parsers: [{
						 format: "pdf",
						 valid: "lib/ng-bank-parser/fixtures/firstbank-pdf-valid.pdf",
						 fixture_password: 19856,
						 invalid: "lib/ng-bank-parser/fixtures/firstbank-pdf-invalid.pdf",
						 extensions: ["pdf"]
				 }]
		 	},{
				 key: "accessbank",
				 name: "Access Bank Plc",
				 parsers: [{
						 format: "pdf",
						 valid: "lib/ng-bank-parser/fixtures/accessbank-pdf-valid.pdf",
						 invalid: "lib/ng-bank-parser/fixtures/accessbank-pdf-invalid.pdf",
						 extensions: ["pdf"]
				 }]
	  	},{
				key: "ecobank",
				name: "Ecobank Nigeria",
				parsers: [{
					format: "pdf",
					valid: "lib/ng-bank-parser/fixtures/ecobank-pdf-valid.pdf",
					invalid: "lib/ng-bank-parser/fixtures/ecobank-pdf-invalid.pdf",
					extensions: ["pdf"]
				}]
			}]
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ng-bank-parser-0.1.7 lib/ng-bank-parser/banks.rb