superp-hyperwallet-ruby 0.1.0 → 0.1.1
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 +5 -0
- data/lib/hyperwallet/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78bd7a21889301ce3ba70d003db1092da427cf6b
|
4
|
+
data.tar.gz: a4bd686fadf8774e801b3ee10f83c4bd2fd3d92b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3991a0f3720c73cbef5897638692891a8af616e6027f4c8912c87211d81d4023cac78571b6927caf5e84285ba1e12a9c4ed7782a6916541f1974563187887a5f
|
7
|
+
data.tar.gz: 77c0efe3657a337840f9e3dfd67453737ceb00c5e7bad3fc3a42c4c7f0e4acc9dbd35ec642b5b3f885cc90aa3d9ee706b958b069756df0687f6512e64f1ed8e3
|
data/lib/hyperwallet/user.rb
CHANGED
@@ -25,6 +25,11 @@ module Hyperwallet
|
|
25
25
|
res = Hyperwallet.request(:get, "/users/#{key}/balances", params)
|
26
26
|
convert_to_hyperwallet_object(res)
|
27
27
|
end
|
28
|
+
|
29
|
+
def self.auth_token(key)
|
30
|
+
res = Hyperwallet.request(:post, "/users/#{key}/authentication-token")
|
31
|
+
convert_to_hyperwallet_object(res)
|
32
|
+
end
|
28
33
|
|
29
34
|
class PaypalAccount < HyperwalletObject
|
30
35
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Troy Martin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -124,7 +124,7 @@ homepage: https://github.com/superp/hyperwallet-ruby
|
|
124
124
|
licenses:
|
125
125
|
- MIT
|
126
126
|
metadata: {}
|
127
|
-
post_install_message:
|
127
|
+
post_install_message:
|
128
128
|
rdoc_options: []
|
129
129
|
require_paths:
|
130
130
|
- lib
|
@@ -139,9 +139,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
|
-
rubyforge_project:
|
142
|
+
rubyforge_project:
|
143
143
|
rubygems_version: 2.5.2.3
|
144
|
-
signing_key:
|
144
|
+
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: Ruby bindings for the Hyperwallet REST API.
|
147
147
|
test_files: []
|