Skip to content

Commit

Permalink
re-add firstbank to Banks array
Browse files Browse the repository at this point in the history
  • Loading branch information
onyekvchi committed Sep 22, 2015
1 parent d54026f commit e4fe827
Showing 1 changed file with 30 additions and 19 deletions.
49 changes: 30 additions & 19 deletions lib/ng-bank-parser/banks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,40 @@ class Banks
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"]
}]
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: "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"]
}]
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: "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: "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"]
}]
}
]
end
end

0 comments on commit e4fe827

Please sign in to comment.