bittrex-enterprise 0.6 → 0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/bittrex-enterprise.gemspec +0 -1
- data/lib/bittrex-enterprise/api_helpers.rb +11 -3
- data/lib/bittrex-enterprise/version.rb +1 -1
- data/lib/bittrex_enterprise.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e89bc8e5e4b9eaa544f6f672214422f404d1f0073d881a40da5b4746f8ca1a5f
|
4
|
+
data.tar.gz: 526f5562b91f0a02eb0010b54672c170858b255904f5ed9fa7da3b88180dc519
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d6f21e507c36b62194c27a182d1169fc12f22a5e477ca0d0b920262fdacdee309cf922cea9da36ecd7486db197d6b086802212facac8c4d9f27d2e9d4b46aff
|
7
|
+
data.tar.gz: ad6c00ab30fbf71500564a0cd6e0704fbd34aad3f03a6f68553edac7ef03710643610f48c207b3fe6a9856b522a33c2204ba5b2b9b2006fa360ad9ae3ec08bbd
|
data/.DS_Store
ADDED
Binary file
|
data/bittrex-enterprise.gemspec
CHANGED
@@ -5,7 +5,7 @@ module ApiHelpers
|
|
5
5
|
|
6
6
|
module ClassMethods
|
7
7
|
|
8
|
-
def
|
8
|
+
def bittrex_uri
|
9
9
|
'https://api.bittrex.com/v3/'
|
10
10
|
end
|
11
11
|
|
@@ -14,9 +14,17 @@ module ApiHelpers
|
|
14
14
|
api_group, params, sub_account_id = setup_params(api_group, params)
|
15
15
|
|
16
16
|
begin
|
17
|
-
|
17
|
+
puts "CALL:"
|
18
|
+
puts bittrex_uri
|
19
|
+
puts api_group
|
20
|
+
puts params
|
21
|
+
response = HTTParty.get(bittrex_uri + api_group, query: params)
|
22
|
+
puts "TEST:"
|
23
|
+
puts response
|
18
24
|
res_hash response
|
19
25
|
rescue => e
|
26
|
+
puts "TEST:"
|
27
|
+
puts response
|
20
28
|
res_hash e.response
|
21
29
|
end
|
22
30
|
end
|
@@ -60,7 +68,7 @@ module ApiHelpers
|
|
60
68
|
params.compact!
|
61
69
|
api_group, params, sub_account_id = setup_params(api_group, params)
|
62
70
|
|
63
|
-
url =
|
71
|
+
url = bittrex_uri + api_group
|
64
72
|
|
65
73
|
headers = setup_headers(method, url, params, sub_account_id)
|
66
74
|
|
data/lib/bittrex_enterprise.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bittrex-enterprise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.7'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vertbase
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -143,6 +143,7 @@ executables: []
|
|
143
143
|
extensions: []
|
144
144
|
extra_rdoc_files: []
|
145
145
|
files:
|
146
|
+
- ".DS_Store"
|
146
147
|
- ".gitignore"
|
147
148
|
- ".rspec"
|
148
149
|
- Gemfile
|