uphold 1.2.1 → 1.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34e26f746a2e2d2f7179f9efb70eb4dbe7015e36
|
4
|
+
data.tar.gz: d3ee460fb7daf9a75bd9648160273ec635333294
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11f19db921af6dbfb1c4cdc1919854bfe5eeec512d951bdd41644ea73f748c1c54c219f4b4ad958d3399f887550ede2a4f01e38b45e64d861e1664a4da347698
|
7
|
+
data.tar.gz: 0181706f1be947510470024b81e66a7dcf55f70da3b2d5d6180d917c92a58e28ddb95d4537f27ea5d53332ed8577deedd1656578dbcb5bd2992aee8c7a084369
|
data/lib/uphold/entities/card.rb
CHANGED
data/lib/uphold/request.rb
CHANGED
@@ -13,7 +13,7 @@ module Uphold
|
|
13
13
|
response = new(request_data).public_send(http_method)
|
14
14
|
|
15
15
|
with_valid_response(response) do
|
16
|
-
request_data.entity.from_collection(response.parsed_response, response.headers['content-range'])
|
16
|
+
request_data.entity.from_collection(response.parsed_response.to_h, response.headers['content-range'])
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
data/lib/uphold/version.rb
CHANGED
@@ -55,7 +55,7 @@ http_interactions:
|
|
55
55
|
body:
|
56
56
|
encoding: UTF-8
|
57
57
|
string: '{"id":"d9cfb5ec-27b3-427a-8ee6-084a7c6b5d2a","address":{"bitcoin":"1JbnsnxESsu1bV3DV4DPCSNp15JQ6yCPgC"},"label":"USD
|
58
|
-
card","currency":"USD","balance":"0.00","available":"0.00","lastTransactionAt":null,"position":2
|
58
|
+
card","currency":"USD","balance":"0.00","available":"0.00","lastTransactionAt":null,"position":2}'
|
59
59
|
http_version:
|
60
60
|
recorded_at: Tue, 27 Jan 2015 14:24:24 GMT
|
61
61
|
recorded_with: VCR 2.9.3
|
@@ -55,13 +55,13 @@ http_interactions:
|
|
55
55
|
body:
|
56
56
|
encoding: UTF-8
|
57
57
|
string: '[{"id":"2daa59e8-89c5-4cbe-99fc-f66435024bcf","address":{"bitcoin":"1LbHhVFjLeC3hVhW4FXrwu7MNUCkoGTwA5"},"label":"XAU
|
58
|
-
card","currency":"XAU","balance":"0.001","available":"0.001","lastTransactionAt":"2014-12-02T00:29:45.507Z","position":7
|
59
|
-
card","currency":"BTC","balance":"0.00","available":"0.00","lastTransactionAt":null,"position":1
|
60
|
-
card","currency":"USD","balance":"0.00","available":"0.00","lastTransactionAt":null,"position":2
|
61
|
-
card","currency":"GBP","balance":"0.00","available":"0.00","lastTransactionAt":null,"position":4
|
62
|
-
card","currency":"CNY","balance":"0.00","available":"0.00","lastTransactionAt":null,"position":5
|
63
|
-
card","currency":"JPY","balance":"0.00","available":"0.00","lastTransactionAt":null,"position":6
|
64
|
-
card","currency":"EUR","balance":"5.85","available":"5.85","lastTransactionAt":"2014-11-21T17:37:04.769Z","position":3
|
58
|
+
card","currency":"XAU","balance":"0.001","available":"0.001","lastTransactionAt":"2014-12-02T00:29:45.507Z","position":7},{"id":"8a77ed0e-d89b-4d73-b438-33cd47dcafef","address":{"bitcoin":"1GXDSRdmEyLbgvGa3zBtW1Pftggc8Y8FWK"},"label":"BTC
|
59
|
+
card","currency":"BTC","balance":"0.00","available":"0.00","lastTransactionAt":null,"position":1},{"id":"d9cfb5ec-27b3-427a-8ee6-084a7c6b5d2a","address":{"bitcoin":"1JbnsnxESsu1bV3DV4DPCSNp15JQ6yCPgC"},"label":"USD
|
60
|
+
card","currency":"USD","balance":"0.00","available":"0.00","lastTransactionAt":null,"position":2},{"id":"7faab8e0-fbb7-4bb4-ad2f-9e0e05eabc35","address":{"bitcoin":"1BsvBJnjXGPC68mPPmcsvUYzidGSXgJd7Q"},"label":"GBP
|
61
|
+
card","currency":"GBP","balance":"0.00","available":"0.00","lastTransactionAt":null,"position":4},{"id":"1f3e8557-5a42-4cf9-a3fd-919b614b87f5","address":{"bitcoin":"19xscksV9K5tG3PQEkKfNWjaxSu8gzX1pi"},"label":"CNY
|
62
|
+
card","currency":"CNY","balance":"0.00","available":"0.00","lastTransactionAt":null,"position":5},{"id":"353cc6d4-b19f-42ec-a733-bbaf45cb0089","address":{"bitcoin":"192R94xg5acCAYJqXYWve4L6WEaEEMU3RY"},"label":"JPY
|
63
|
+
card","currency":"JPY","balance":"0.00","available":"0.00","lastTransactionAt":null,"position":6},{"id":"21a6f110-a684-4627-afda-bf03eca733cf","address":{"bitcoin":"1M8JNAoPxKfQivX8rzo3x1qKX6tf857HGf"},"label":"EUR
|
64
|
+
card","currency":"EUR","balance":"5.85","available":"5.85","lastTransactionAt":"2014-11-21T17:37:04.769Z","position":3}]'
|
65
65
|
http_version:
|
66
66
|
recorded_at: Tue, 27 Jan 2015 14:13:03 GMT
|
67
67
|
recorded_with: VCR 2.9.3
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uphold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Subvisual
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -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.6.
|
248
|
+
rubygems_version: 2.6.8
|
249
249
|
signing_key:
|
250
250
|
specification_version: 4
|
251
251
|
summary: A wrapper for the Uphold API
|