wazirx_official 2.0.0 → 2.0.1

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
  SHA256:
3
- metadata.gz: '01769330492f824af56041c147a239d9acb15045a1fe9105531d098b216801bd'
4
- data.tar.gz: d26a08b771a3d002d50401c394d676ebfa42150aba244beba1f9f2f670b0d0fe
3
+ metadata.gz: 863c3db02515ac7b2dfba8c31eda81c0ab650ac78e761991df841736aa573409
4
+ data.tar.gz: 4df9d829832a3824be64a9adaa9d924bef643a14a6456d6050bf5bc9924d39f2
5
5
  SHA512:
6
- metadata.gz: 4b31a587cd48c24bfa55f71d32c6f123850b55f06fff75bc6b08fa710a8399008beb3c707faa864cd32ac5a31ddba97e5a810da01ca2ada28726ce2fadb1fa49
7
- data.tar.gz: 1e8f6336d30edbf11f68ca5a3e400f7792ee3d89075031870235090ba1a9835faa67eb3618e7b28c5801f95bbdc7a694a2dffae4dfec1d9ef5970e532cb0759e
6
+ metadata.gz: e19d9fb939dabe24c754f6e99fc6d348aa9631326330f2be223ba6d74e7a326ffeeaedfa7a5a23901f983c58d3533607da72099a6d661c36627dffa611758c33
7
+ data.tar.gz: 9953b87572f181c13a2ab226018d377dca14ed3aed6f3dd7d7b48a4d992861ec8e34cdca6a163b77c8ac2e1b3cad57cd2d90081de0cd3752e9688d03b8f050ed
@@ -21,7 +21,7 @@ module Wazirx
21
21
  end
22
22
 
23
23
  def all_market_ticker(id: 0,action:SUBSCRIBE)
24
- stream = "!ticker@arr"
24
+ stream = ["!ticker@arr"]
25
25
  create_stream(streams: stream, id: id, action: action)
26
26
  end
27
27
 
@@ -73,7 +73,7 @@ module Wazirx
73
73
  @ws.send(JSON.dump({'event':'unsubscribe', 'streams':streams.flatten,'id':id}))
74
74
  end
75
75
 
76
- def create_stream(streams: streams, id: id, action: action, auth_key:'')
76
+ def create_stream(streams:, id:, action:, auth_key:'')
77
77
  @ws = Faye::WebSocket::Client.new(BASE_URL)
78
78
  @ws.on :open do |event|
79
79
  puts [:open]
@@ -1,3 +1,3 @@
1
1
  module Wazirx
2
- VERSION = '2.0.0'.freeze
2
+ VERSION = '2.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wazirx_official
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Som Prabh Sharma
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  requirements: []
134
- rubygems_version: 3.0.3.1
134
+ rubygems_version: 3.0.3
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: API Wrapper for the Wazirx cryptocurrency exchange.