superp-hyperwallet-ruby 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78bd7a21889301ce3ba70d003db1092da427cf6b
4
- data.tar.gz: a4bd686fadf8774e801b3ee10f83c4bd2fd3d92b
3
+ metadata.gz: 5775f2a6f41e605c8c43a1dbb695380fb3ea94af
4
+ data.tar.gz: 8383d25683985a27b0be953e47483677ba40d69c
5
5
  SHA512:
6
- metadata.gz: 3991a0f3720c73cbef5897638692891a8af616e6027f4c8912c87211d81d4023cac78571b6927caf5e84285ba1e12a9c4ed7782a6916541f1974563187887a5f
7
- data.tar.gz: 77c0efe3657a337840f9e3dfd67453737ceb00c5e7bad3fc3a42c4c7f0e4acc9dbd35ec642b5b3f885cc90aa3d9ee706b958b069756df0687f6512e64f1ed8e3
6
+ metadata.gz: 990ba587db6d226f24f6c498044b3254fa784d5e33d695da86b0f285283c91a662dce165eb41d45f303ddc9b2c2427a5db7e66a203912f2119141d463292139c
7
+ data.tar.gz: 4956aebed518c915f850b4b04bd33533e8596ac087c6728d5270647d301177f1c1bccb8610106104d16ebabb53fb7236f80b04d43aa557cf295e13862b9d0d95
@@ -25,12 +25,17 @@ module Hyperwallet
25
25
  res = Hyperwallet.request(:get, "/users/#{key}/balances", params)
26
26
  convert_to_hyperwallet_object(res)
27
27
  end
28
-
28
+
29
29
  def self.auth_token(key)
30
30
  res = Hyperwallet.request(:post, "/users/#{key}/authentication-token")
31
31
  convert_to_hyperwallet_object(res)
32
32
  end
33
33
 
34
+ def self.find_bank_account(user_token, trm_token)
35
+ res = Hyperwallet.request(:get, "/users/#{user_token}/bank-accounts/#{trm_token}")
36
+ convert_to_hyperwallet_object(res)
37
+ end
38
+
34
39
  class PaypalAccount < HyperwalletObject
35
40
 
36
41
  def self.all(user_token, params)
@@ -1,3 +1,3 @@
1
1
  module Hyperwallet
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superp-hyperwallet-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Troy Martin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-15 00:00:00.000000000 Z
11
+ date: 2020-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client