wazirx_official 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wazirx_official/client/websocket.rb +2 -2
- data/lib/wazirx_official/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 863c3db02515ac7b2dfba8c31eda81c0ab650ac78e761991df841736aa573409
|
4
|
+
data.tar.gz: 4df9d829832a3824be64a9adaa9d924bef643a14a6456d6050bf5bc9924d39f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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]
|
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.
|
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
|
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.
|