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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f11ceff79507ce0156e3fa22a6d718be8256759c68e769b6934874259701e9b
4
- data.tar.gz: a3a6ccf95e75167cfde83bc6f9aafb3adc37cf08d7555eded61500ee4d9f805f
3
+ metadata.gz: e89bc8e5e4b9eaa544f6f672214422f404d1f0073d881a40da5b4746f8ca1a5f
4
+ data.tar.gz: 526f5562b91f0a02eb0010b54672c170858b255904f5ed9fa7da3b88180dc519
5
5
  SHA512:
6
- metadata.gz: 57d506ba6677480f36434a376a3fae66375a02e804c8d0d26ea2d73b271a2efa4ca999d7465b5fd4ae37e1e0f6c42e733eb4beac0508d574a2c5decdb1d9bd85
7
- data.tar.gz: 3d90175187a0eebbaaffba3444e4e7598496f0a684437fb9b04ae4d9522b670856c1061d4ac06fb4ed2b88f43fdaa6841b83a0ac2e75ca8a44035728422582f0
6
+ metadata.gz: 3d6f21e507c36b62194c27a182d1169fc12f22a5e477ca0d0b920262fdacdee309cf922cea9da36ecd7486db197d6b086802212facac8c4d9f27d2e9d4b46aff
7
+ data.tar.gz: ad6c00ab30fbf71500564a0cd6e0704fbd34aad3f03a6f68553edac7ef03710643610f48c207b3fe6a9856b522a33c2204ba5b2b9b2006fa360ad9ae3ec08bbd
data/.DS_Store ADDED
Binary file
@@ -1,4 +1,3 @@
1
-
2
1
  lib = File.expand_path('../lib', __FILE__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require 'bittrex-enterprise/version'
@@ -5,7 +5,7 @@ module ApiHelpers
5
5
 
6
6
  module ClassMethods
7
7
 
8
- def base_uri
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
- response = HTTParty.get(base_uri + api_group, query: params)
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 = base_uri + api_group
71
+ url = bittrex_uri + api_group
64
72
 
65
73
  headers = setup_headers(method, url, params, sub_account_id)
66
74
 
@@ -1,3 +1,3 @@
1
1
  module BittrexEnterprise
2
- VERSION = '0.6'
2
+ VERSION = '0.7'
3
3
  end
@@ -23,7 +23,7 @@ require 'bittrex-enterprise/withdrawals'
23
23
  module BittrexEnterprise
24
24
 
25
25
  class << self
26
- attr_accessor :configuration
26
+ attr_accessor :configuration
27
27
  end
28
28
 
29
29
  def self.setup
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.6'
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-26 00:00:00.000000000 Z
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