gatecoin 0.1.1 → 0.2.0

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: 61dffbaedbce18d11504fc20d626091860bcc1d0
4
- data.tar.gz: 98385fba59215dc3d2e7c097f72e559861509da4
3
+ metadata.gz: 4a0969c603a4a025eedb725059b4a48c9745e94f
4
+ data.tar.gz: 2c57e04ecc52294b2b669eab238fd022e33c6fa6
5
5
  SHA512:
6
- metadata.gz: 5f4a0ed85aec2e462f346ee3e489b9355a9743fa75aa284763aea50d88cb59e98aae9fc81cdf9241a30071b1cef3aea085f1e151d2a152dedbaa7bf4bbabc90b
7
- data.tar.gz: '04608c4b43ce51f9a695ba9d44b3937987a50f4233fee7db846428f1b65bc1bbeb640027b09f57208be609aebc36d5f287eac32cbc2e6da28f7c4f743c7afbab'
6
+ metadata.gz: e99a4c6e28dfa628830fa71866d04b2aca5251e51e85b5d01d0de4c4844266bc43ee1210893880277b8640a26e3622127fa5da4cbca3ff8147dca08ba3e1799d
7
+ data.tar.gz: 8731fe5cf1867513b6b99771ce42657a1eebe32a0f0601ee99a9ff370821c455e863de84559f09b3c04073f5fbb87a7a1048dce83a01cf19339b39917d87157d
@@ -64,6 +64,13 @@ module Gatecoin
64
64
  raise Gatecoin::CancelOrderException.new(e.message)
65
65
  end
66
66
 
67
+ def deposit_wallets
68
+ addresses = get('/ElectronicWallet/DepositWallets')
69
+
70
+ raise addresses['responseStatus']['message'] unless addresses['addresses']
71
+ addresses['addresses']
72
+ end
73
+
67
74
  private
68
75
 
69
76
  def signature(timestamp, verb, content_type, path)
@@ -2,5 +2,5 @@
2
2
  # Primary module for this gem.
3
3
  module Gatecoin
4
4
  # Current Gatecoin version.
5
- VERSION = '0.1.1'.freeze
5
+ VERSION = '0.2.0'.freeze
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gatecoin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Fernandez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-25 00:00:00.000000000 Z
11
+ date: 2018-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler