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: 38d0ab4a38dca7469c06bd23b468245893eb8dba
4
- data.tar.gz: 39ba6324bcad6e8aee938db19c3d2936921e7c67
3
+ metadata.gz: 34e26f746a2e2d2f7179f9efb70eb4dbe7015e36
4
+ data.tar.gz: d3ee460fb7daf9a75bd9648160273ec635333294
5
5
  SHA512:
6
- metadata.gz: 0b36edb512b5f71449205b0acab8d7ed3f57ab911d94af83f8ecf7cf7c28fc8c700581aac260ae81df964e596f850228e89f6f6f1b041e44e3e0b8262d86bf41
7
- data.tar.gz: a88491bbe12cc2458a2cb5f69185c1caa5e12d47558c1986cad33c8ab61dd188cd9d82c7b8e4b2331f05af853cbcdb1293b5b127943ca7070122b4b55c9f6ae5
6
+ metadata.gz: 11f19db921af6dbfb1c4cdc1919854bfe5eeec512d951bdd41644ea73f748c1c54c219f4b4ad958d3399f887550ede2a4f01e38b45e64d861e1664a4da347698
7
+ data.tar.gz: 0181706f1be947510470024b81e66a7dcf55f70da3b2d5d6180d917c92a58e28ddb95d4537f27ea5d53332ed8577deedd1656578dbcb5bd2992aee8c7a084369
@@ -3,7 +3,6 @@ module Uphold
3
3
  class Card < BaseEntity
4
4
  attribute :id
5
5
  attribute :address
6
- attribute :addresses
7
6
  attribute :label
8
7
  attribute :currency
9
8
  attribute :balance
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Uphold
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
3
  end
@@ -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,"addresses":[{"id":"1JbnsnxESsu1bV3DV4DPCSNp15JQ6yCPgC","network":"bitcoin"}]}'
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,"addresses":[{"id":"1LbHhVFjLeC3hVhW4FXrwu7MNUCkoGTwA5","network":"bitcoin"}]},{"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,"addresses":[{"id":"1GXDSRdmEyLbgvGa3zBtW1Pftggc8Y8FWK","network":"bitcoin"}]},{"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,"addresses":[{"id":"1JbnsnxESsu1bV3DV4DPCSNp15JQ6yCPgC","network":"bitcoin"}]},{"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,"addresses":[{"id":"1BsvBJnjXGPC68mPPmcsvUYzidGSXgJd7Q","network":"bitcoin"}]},{"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,"addresses":[{"id":"19xscksV9K5tG3PQEkKfNWjaxSu8gzX1pi","network":"bitcoin"}]},{"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,"addresses":[{"id":"192R94xg5acCAYJqXYWve4L6WEaEEMU3RY","network":"bitcoin"}]},{"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,"addresses":[{"id":"1M8JNAoPxKfQivX8rzo3x1qKX6tf857HGf","network":"bitcoin"}]}]'
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.1
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: 2016-05-17 00:00:00.000000000 Z
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.2
248
+ rubygems_version: 2.6.8
249
249
  signing_key:
250
250
  specification_version: 4
251
251
  summary: A wrapper for the Uphold API