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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8bab20265126828ece2dd345ce564f054213056e
4
- data.tar.gz: bcb3381ed2451dc2826f767ce721ecc8f86b09f7
3
+ metadata.gz: 78bd7a21889301ce3ba70d003db1092da427cf6b
4
+ data.tar.gz: a4bd686fadf8774e801b3ee10f83c4bd2fd3d92b
5
5
  SHA512:
6
- metadata.gz: e222cd5ddf85f2faa1740d115b48774be27f6dcf7ecd1e3d7dde169881cafe24a17680877bfa9cfaaed3ba46f9facc1a03191fce42811cde115443f9753f5012
7
- data.tar.gz: 569d4ae6a1f33b0c2185c2a65ca0faf681ef867454563a00f67e21610c116e8a4e9f4c53e6efd8410a2a879feab4000d88cd9bbe5349244915019d073ca29b1e
6
+ metadata.gz: 3991a0f3720c73cbef5897638692891a8af616e6027f4c8912c87211d81d4023cac78571b6927caf5e84285ba1e12a9c4ed7782a6916541f1974563187887a5f
7
+ data.tar.gz: 77c0efe3657a337840f9e3dfd67453737ceb00c5e7bad3fc3a42c4c7f0e4acc9dbd35ec642b5b3f885cc90aa3d9ee706b958b069756df0687f6512e64f1ed8e3
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Hyperwallet
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
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.0
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-07-16 00:00:00.000000000 Z
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: []