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 +4 -4
- data/lib/gatecoin/gatecoin.rb +7 -0
- data/lib/gatecoin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a0969c603a4a025eedb725059b4a48c9745e94f
|
4
|
+
data.tar.gz: 2c57e04ecc52294b2b669eab238fd022e33c6fa6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e99a4c6e28dfa628830fa71866d04b2aca5251e51e85b5d01d0de4c4844266bc43ee1210893880277b8640a26e3622127fa5da4cbca3ff8147dca08ba3e1799d
|
7
|
+
data.tar.gz: 8731fe5cf1867513b6b99771ce42657a1eebe32a0f0601ee99a9ff370821c455e863de84559f09b3c04073f5fbb87a7a1048dce83a01cf19339b39917d87157d
|
data/lib/gatecoin/gatecoin.rb
CHANGED
@@ -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)
|
data/lib/gatecoin/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2018-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|