bs2_api 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bs2_api/util/bank_service.rb +1 -1
- data/lib/bs2_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60c88f2d480fea688ec26e7780f523915238f9824929e85fa6ec4668f57d7381
|
4
|
+
data.tar.gz: 8c32a7922b83497b645afc3ac488d8a273235ed574a92ebe49893fe5f06ae7b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ba29f3666fd16c78e2645c77e97ed3e140dba0667e72a80dddbe7e2aae814cde2338755b4cc60bd8a82a567690c61d250f71442239c8bc9b4e0095301df827e
|
7
|
+
data.tar.gz: 6108044eb09759b2e94eb3f1f159497e47460d1ed43412368c0f767d668d3f5f8c4d4e8540b1115394b919f8701622107da86044ffd58e0826e4d07e251c915c
|
@@ -9,7 +9,7 @@ module Bs2Api
|
|
9
9
|
def find_by_code code
|
10
10
|
code = code.to_s.strip
|
11
11
|
bank = bank_list.find {|b| b["code"] == code }
|
12
|
-
raise Bs2Api::Errors::MissingBank, "Bank with code '#{code}' not registered into
|
12
|
+
raise Bs2Api::Errors::MissingBank, "Bank with code '#{code}' not registered into configuration file" if bank.blank?
|
13
13
|
bank
|
14
14
|
end
|
15
15
|
|
data/lib/bs2_api/version.rb
CHANGED