binance-ruby 1.2.8 → 1.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/binance/api/account.rb +1 -1
- data/lib/binance/api/request.rb +3 -3
- data/lib/binance/api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c692f93f4037603a5ccdeacd096c7f83f7c3b4c212555e62a30b7ac8ba0f8245
|
4
|
+
data.tar.gz: 75cbbf7c87f7557ff078e29ae479b28530f50b3d26c22baa75ed69d99c5c1d72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb3354015ac4a66d64c334e7a64b2e86885f0b8bfbe3ee527f5a6059f882dae6e5b4adc729da862d71f6ce12ffa696cb769ea6414938c29f7c0ed390216f0312
|
7
|
+
data.tar.gz: efcdd0c9c5d5c0e411fbd04de3a87dce49b047b6cb633c3f8af4a7becbeede5bda76a8a244d2e94ca2980a9c3e97f0601973c10401aa0f0d69cfa71359e7a6f8
|
data/lib/binance/api/account.rb
CHANGED
@@ -40,7 +40,7 @@ module Binance
|
|
40
40
|
addressTag: addressTag, amount: amount, transactionFeeFlag: transactionFeeFlag,
|
41
41
|
name: name, recvWindow: recvWindow,
|
42
42
|
}
|
43
|
-
Request.send!(api_key_type: :
|
43
|
+
Request.send!(api_key_type: :withdrawals, path: "/sapi/v1/capital/withdraw/apply",
|
44
44
|
params: params.delete_if { |key, value| value.nil? }, method: :post,
|
45
45
|
security_type: :user_data, api_key: api_key, api_secret_key: api_secret_key)
|
46
46
|
end
|
data/lib/binance/api/request.rb
CHANGED
@@ -19,11 +19,11 @@ module Binance
|
|
19
19
|
when :get
|
20
20
|
response = get(path, headers: all_headers, query: params)
|
21
21
|
when :post
|
22
|
-
response = post(path,
|
22
|
+
response = post(path, query: params, headers: all_headers)
|
23
23
|
when :put
|
24
|
-
response = put(path,
|
24
|
+
response = put(path, query: params, headers: all_headers)
|
25
25
|
when :delete
|
26
|
-
response = delete(path,
|
26
|
+
response = delete(path, query: params, headers: all_headers)
|
27
27
|
else
|
28
28
|
raise Error.new(message: "invalid http method used: #{method}")
|
29
29
|
end
|
data/lib/binance/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: binance-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jake Peterson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: codecov
|
@@ -237,5 +237,5 @@ requirements: []
|
|
237
237
|
rubygems_version: 3.1.6
|
238
238
|
signing_key:
|
239
239
|
specification_version: 4
|
240
|
-
summary: binance-ruby-1.2.
|
240
|
+
summary: binance-ruby-1.2.9
|
241
241
|
test_files: []
|