binance-ruby 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dfedd6d2c723f0c667153fea80e506bae0e5f8ca
4
- data.tar.gz: 6e89dcbbd2614ac16d314ea045f28438ffa29442
3
+ metadata.gz: 335e3d8becd7cbd5d757975be746e16541045ffa
4
+ data.tar.gz: d3913e031eaefea39051d8f5ca8128cf062208dc
5
5
  SHA512:
6
- metadata.gz: 5259dc2519daec5fcb6b266c92789b472c347f5ac7070e9ce883baef5ac450d831e825b900d8807020f8e1e367f0f343dc137bb94d6287cb0e539bc9cc00e682
7
- data.tar.gz: c264ace691477c4e53b70be2f57851aca57dc34ae1576dd3121c6c7505626099e6c48ff1a18116abf6f48828a7813af5c11b91bbc73935010a053c913995d816
6
+ metadata.gz: 127beab764a46447b6880ed3d95f3096ae37e080b46aa01412fe59bd91885a96b9924d32cbf3ffc40addabd7180c50fcf65e22c68802df373f7905136151bc64
7
+ data.tar.gz: 12a7ea1381e46791eea6ee96b49be186214c5f945c0165fdf82bf7817cb72dbcdec3f4323385de6f2303480e94192f9e01c5cf7d71d1243684f153de672b5162
@@ -31,6 +31,12 @@ module Binance
31
31
  Request.send!(api_key_type: :read_info, path: '/api/v1/historicalTrades', params: params, security_type: :market_data)
32
32
  end
33
33
 
34
+ def info!(recv_window: nil)
35
+ timestamp = Configuration.timestamp
36
+ params = { recvWindow: recv_window, timestamp: timestamp }.delete_if { |key, value| value.nil? }
37
+ Request.send!(api_key_type: :read_info, path: '/api/v3/account', params: params, security_type: :user_data)
38
+ end
39
+
34
40
  def ping!
35
41
  Request.send!(path: '/api/v1/ping')
36
42
  end
@@ -1,5 +1,5 @@
1
1
  module Binance
2
2
  module Api
3
- VERSION = "0.1.6"
3
+ VERSION = "0.1.7"
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: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Peterson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-16 00:00:00.000000000 Z
11
+ date: 2018-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: codecov
@@ -176,5 +176,5 @@ rubyforge_project:
176
176
  rubygems_version: 2.5.2
177
177
  signing_key:
178
178
  specification_version: 4
179
- summary: binance-ruby-0.1.6
179
+ summary: binance-ruby-0.1.7
180
180
  test_files: []