jp_bank 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c9d299e32204c592ebf144288483d7590f20c9d
4
- data.tar.gz: af8542fd960144452bf6367324381002dfa389d8
3
+ metadata.gz: a89a0074f271088b2d3db0395f8cdd1177bcaa9e
4
+ data.tar.gz: af4b722c0ef167e3816b2667a0fb0997a5d4fe57
5
5
  SHA512:
6
- metadata.gz: d5bb34c534e48af4d5b09ed335eded606b5a0a8a10969e85596da7297c1dc08f96b628acef25f4bdc98f46a5c42c29352f6cd94e09ec824d823e879f8141f65d
7
- data.tar.gz: 19906a9e19b390047680e2d1bd8d6f8422470b499ced14e0ed36069ea14825c6e91d68365a74f41c654f98785c1653da366e7d85bcc2a41a70567b194ba2bdf7
6
+ metadata.gz: ee4d1b4f03c39a169af6dfd976792f1f69d397211e0009a1cebf8b994b211bdeb4f6a42f6d0aafa0448d75ac61d74bdc1b2570bf0973f16d86cbae0cdb2e73df
7
+ data.tar.gz: 78c7c50bf951665355967842244d14f72959a4bde81a25550ceb3eae9b82e4e4024ce6dac7f175311f14c1dac9f4157b37abd765ba8cb9318fb581bcf4683c5d
data/lib/jp_bank.rb CHANGED
@@ -13,7 +13,7 @@ module JpBank
13
13
 
14
14
  self.class_eval do
15
15
  define_method attr_name do
16
- JpBank::Bank.find(self.send(bank_code_method))
16
+ JpBank::Bank.fetch_bank_from_code(self.send(bank_code_method))
17
17
  end
18
18
  end
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module JpBank
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jp_bank
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tatsuya Sato