MxnBanks 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/MxnBanks.rb +2 -1
- data/lib/MxnBanks/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb575c1b2c8f6a5667d866d3ff00eac686c25ffc
|
4
|
+
data.tar.gz: 03cb87d0da0847413d6059de82437100457dc09c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 630bf104ac27a0e96f2c666c1ace21bf29e0832393175440c1eb7c0b0abfe691dd3a7e76be58517a14e4b670c1b90acae83bb102a2b16f8f1d942a3bc76eae98
|
7
|
+
data.tar.gz: fe64dd5a5d9a688886903ab4a866d3b56581415ec70f0435d3b0b9ef188f65ce140fa12041ff941a59536d3dd4d30dde29904408ba169b750945bd7dd567843c
|
data/lib/MxnBanks.rb
CHANGED
@@ -7,6 +7,7 @@ module MxnBanks
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def self.to_hash
|
10
|
-
|
10
|
+
json_file = File.read(File.join(File.dirname(__FILE__), 'banks.json'))
|
11
|
+
@banks ||= JSON.parse(json_file, symbolize_names: true)
|
11
12
|
end
|
12
13
|
end
|
data/lib/MxnBanks/version.rb
CHANGED