binance-ruby 0.6 → 0.6.1
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/error.rb +3 -2
- 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: 6d71494bbe1c0bd851ad2da5dd0e1d5835bc8ca46929e7b02acb0212d419db05
|
4
|
+
data.tar.gz: d843c4b5e0e87c62107221a36dcc3d1dac5e12799e503ddde86e366a0e10b06d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b390a772ad52d2d4156f285e170750b72509cd8073a5a59e0bffcbd860e0898cfcc8a3351562590a7a4ae7e8c2a851891745d2433ffddf0bbc04737a3593add
|
7
|
+
data.tar.gz: 1fb3555d422881f2b6272679952edd9a49c849e8d1142f58933d6ec4c6b03429d57a96825dec09c2327ed783ef7162bee0668e4fa1eee938d0d8aa943d155df4
|
data/lib/binance/api/error.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Binance
|
2
2
|
module Api
|
3
3
|
class Error < StandardError
|
4
|
-
attr_reader :code, :msg
|
4
|
+
attr_reader :code, :msg, :symbol
|
5
5
|
|
6
6
|
class << self
|
7
7
|
# https://github.com/binance-exchange/binance-official-api-docs/blob/master/errors.md
|
@@ -10,9 +10,10 @@ module Binance
|
|
10
10
|
end
|
11
11
|
end
|
12
12
|
|
13
|
-
def initialize(code: nil, json: {}, message: nil)
|
13
|
+
def initialize(code: nil, json: {}, message: nil, symbol: nil)
|
14
14
|
@code = code || json[:code]
|
15
15
|
@msg = message || json[:msg]
|
16
|
+
@symbol = message || json[:symbol]
|
16
17
|
end
|
17
18
|
|
18
19
|
def inspect
|
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:
|
4
|
+
version: 0.6.1
|
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-01-
|
11
|
+
date: 2021-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: codecov
|
@@ -204,5 +204,5 @@ requirements: []
|
|
204
204
|
rubygems_version: 3.0.8
|
205
205
|
signing_key:
|
206
206
|
specification_version: 4
|
207
|
-
summary: binance-ruby-0.6
|
207
|
+
summary: binance-ruby-0.6.1
|
208
208
|
test_files: []
|