binance 0.4.2 → 0.4.3
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 +4 -4
- data/lib/binance/client/rest.rb +1 -1
- data/lib/binance/client/rest/account_api.rb +2 -2
- data/lib/binance/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b289ccbe6f44b3b9333c2fddc292b9fb29a5793
|
4
|
+
data.tar.gz: 51290afdf0730fac191c7ecce6ad6321e7c05f0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b741a8fb7fd200f8b6b4ab981abf0c13c4ee771119dd100ffdb9937c49ccbdd97a6d397607124742e56d0f4db418c6d9f3be68ccf8d4be8bf426dad67fcc9d3
|
7
|
+
data.tar.gz: 86c30f1a057a4f174b90258f38193e701d34fb533eed49139b0f5be4ebe25e73b400597a3224c942491b1d888bb94fff9ec2d7c2453ad11e2dd886e5216ce0a9
|
data/lib/binance/client/rest.rb
CHANGED
@@ -16,7 +16,7 @@ module Binance
|
|
16
16
|
# Public: Client with methods mirroring the Binance REST APIs
|
17
17
|
class REST
|
18
18
|
# Public: String base url for REST client to use
|
19
|
-
BASE_URL = 'https://
|
19
|
+
BASE_URL = 'https://api.binance.com'.freeze
|
20
20
|
|
21
21
|
include PublicAPI
|
22
22
|
include AccountAPI
|
@@ -114,7 +114,7 @@ module Binance
|
|
114
114
|
# milliseconds (optional).
|
115
115
|
#
|
116
116
|
# Returns a Hash with the request response
|
117
|
-
def open_orders(options)
|
117
|
+
def open_orders(options = {})
|
118
118
|
request :signed, :get, :openOrders, options
|
119
119
|
end
|
120
120
|
|
@@ -189,4 +189,4 @@ module Binance
|
|
189
189
|
end
|
190
190
|
end
|
191
191
|
end
|
192
|
-
end
|
192
|
+
end
|
data/lib/binance/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: binance
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Ray Shisler III
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|