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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9573431110b2ce6731230f3660f9023dbbea1064bff0c508072a4dc059c90d06
4
- data.tar.gz: 0664dcff66ef95d5bdf96f8feb37d2f47fe00fc606d166df3c4846a63cee64b1
3
+ metadata.gz: 6d71494bbe1c0bd851ad2da5dd0e1d5835bc8ca46929e7b02acb0212d419db05
4
+ data.tar.gz: d843c4b5e0e87c62107221a36dcc3d1dac5e12799e503ddde86e366a0e10b06d
5
5
  SHA512:
6
- metadata.gz: 4da7aa59ff6987dff9690848fe48df6774370e194cc10ac1a33692b18dfe9a00c7e39ccda67d13c565c6fd5ae1f15b8f22e9c45e0c4e47be92e9a15740c98fce
7
- data.tar.gz: a9ac599985d66f28656e11b609c50888ecaf93f9450f3cfddc33a6b6ba37913e650f9f98573db4b4e9bd9a50fae2c5c37155ad634c4d871ca62ab27fb7ed0af2
6
+ metadata.gz: 6b390a772ad52d2d4156f285e170750b72509cd8073a5a59e0bffcbd860e0898cfcc8a3351562590a7a4ae7e8c2a851891745d2433ffddf0bbc04737a3593add
7
+ data.tar.gz: 1fb3555d422881f2b6272679952edd9a49c849e8d1142f58933d6ec4c6b03429d57a96825dec09c2327ed783ef7162bee0668e4fa1eee938d0d8aa943d155df4
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Binance
2
2
  module Api
3
- VERSION = "0.6"
3
+ VERSION = "0.6.1"
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.6'
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-04 00:00:00.000000000 Z
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: []