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 +4 -4
- data/lib/hyperwallet/user.rb +6 -1
- data/lib/hyperwallet/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5775f2a6f41e605c8c43a1dbb695380fb3ea94af
|
4
|
+
data.tar.gz: 8383d25683985a27b0be953e47483677ba40d69c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 990ba587db6d226f24f6c498044b3254fa784d5e33d695da86b0f285283c91a662dce165eb41d45f303ddc9b2c2427a5db7e66a203912f2119141d463292139c
|
7
|
+
data.tar.gz: 4956aebed518c915f850b4b04bd33533e8596ac087c6728d5270647d301177f1c1bccb8610106104d16ebabb53fb7236f80b04d43aa557cf295e13862b9d0d95
|
data/lib/hyperwallet/user.rb
CHANGED
@@ -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)
|
data/lib/hyperwallet/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2020-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|