uphold 1.1.0 → 1.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/uphold/api/auth_token.rb +5 -1
- data/lib/uphold/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebb5550fb10ca88ce0da7249bca1d44748dd1bf6
|
4
|
+
data.tar.gz: 914cfa1a512e956e35906add853e6410808c9ef1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f56e63017a63d15c1a048e0769bd3e1635492db03f9975b188661ab27219282079287f66bfead96ebeb699cbe79cfbc784f4c204674d0583e4ed1489d3e5924
|
7
|
+
data.tar.gz: 1bab6ef13383591fa84afa237b359405e1337f4bb864b50c3c2b47e1df0362bb93cc064aecd44acf9fcd4a8eab01c3592460276eeeaa6d29077892c278f76132
|
@@ -7,7 +7,11 @@ module Uphold
|
|
7
7
|
request_data = Uphold::RequestData.new(
|
8
8
|
Endpoints::AUTH,
|
9
9
|
Entities::AuthToken,
|
10
|
-
{
|
10
|
+
{
|
11
|
+
'X-Uphold-OTP' => otp,
|
12
|
+
'X-Bitreserve-OTP' => otp,
|
13
|
+
'Authorization' => 'Basic ' + Base64.encode64("#{username}:#{password}")
|
14
|
+
},
|
11
15
|
description: 'Uphold ruby'
|
12
16
|
)
|
13
17
|
Request.perform_with_object(:post, request_data)
|
data/lib/uphold/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uphold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Subvisual
|
@@ -245,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
245
245
|
version: '0'
|
246
246
|
requirements: []
|
247
247
|
rubyforge_project:
|
248
|
-
rubygems_version: 2.4.
|
248
|
+
rubygems_version: 2.4.8
|
249
249
|
signing_key:
|
250
250
|
specification_version: 4
|
251
251
|
summary: A wrapper for the Uphold API
|
@@ -293,4 +293,3 @@ test_files:
|
|
293
293
|
- spec/unit/entities/base_entity_spec.rb
|
294
294
|
- spec/unit/helper_spec.rb
|
295
295
|
- spec/unit/request_spec.rb
|
296
|
-
has_rdoc:
|