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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7677d8d24f74b422c6060ea3950cd05ecbb92fe9740560351eb4e4bb0db89bb
4
- data.tar.gz: 4c5cd1be93bcb44cec31ff006e720390dec12a93bf8e777f12b2a4b5bf1372fb
3
+ metadata.gz: c692f93f4037603a5ccdeacd096c7f83f7c3b4c212555e62a30b7ac8ba0f8245
4
+ data.tar.gz: 75cbbf7c87f7557ff078e29ae479b28530f50b3d26c22baa75ed69d99c5c1d72
5
5
  SHA512:
6
- metadata.gz: 7e9eb96b126d8e16f2e443b992ef78a9b942a86b7f5b826d714458b3d5c0dec64cad208a50590929ca1b49b3907ceb8478443b85d1c6feec370c2adbff115f5f
7
- data.tar.gz: 9fb99018e375191ca37b6a5b5c9d11034e04ca7df6c4f5f9013aa3afeb59ba3d5bad957c637910a5cc2e749eddc9131150c06d5a798ba23826855124e6099bb6
6
+ metadata.gz: bb3354015ac4a66d64c334e7a64b2e86885f0b8bfbe3ee527f5a6059f882dae6e5b4adc729da862d71f6ce12ffa696cb769ea6414938c29f7c0ed390216f0312
7
+ data.tar.gz: efcdd0c9c5d5c0e411fbd04de3a87dce49b047b6cb633c3f8af4a7becbeede5bda76a8a244d2e94ca2980a9c3e97f0601973c10401aa0f0d69cfa71359e7a6f8
@@ -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: :read_info, path: "/sapi/v1/capital/withdraw/apply",
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
@@ -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, body: params, headers: all_headers)
22
+ response = post(path, query: params, headers: all_headers)
23
23
  when :put
24
- response = put(path, body: params, headers: all_headers)
24
+ response = put(path, query: params, headers: all_headers)
25
25
  when :delete
26
- response = delete(path, body: params, headers: all_headers)
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
@@ -1,5 +1,5 @@
1
1
  module Binance
2
2
  module Api
3
- VERSION = "1.2.8"
3
+ VERSION = "1.2.9"
4
4
  end
5
5
  end
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.8
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-05-30 00:00:00.000000000 Z
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.8
240
+ summary: binance-ruby-1.2.9
241
241
  test_files: []