electrb 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/electrb/client.rb +1 -1
- data/lib/electrb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31a671f454a0d572a0cb9f0763e3193e99daecc186359705345a8c1bd283dde0
|
4
|
+
data.tar.gz: f93fa361a528af238e0b06c5bbf223f64d9707bfbcaed89fd217ccb6c8b57189
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec38fc83c1809ad394f71f80e38771bc49c5ba1bc55776b9ded3c553c6173d9c5c42a606f484dd6395fae1bb5b507ea6acfbfab04c27f1db7ed211fb7b15717a
|
7
|
+
data.tar.gz: 4ee33e9de9731e91721062d0ec9911b253779ea7142f17286d55c0fe0a9f0e17cd64899e75fe2eafc1ab7f7ca6cc111e5d61e081b9608a289006bd87863f570d
|
data/lib/electrb/client.rb
CHANGED
@@ -19,7 +19,7 @@ module Electrb
|
|
19
19
|
def send_request(method, *args)
|
20
20
|
method_name = method.to_s.gsub(/_/, '.')
|
21
21
|
begin
|
22
|
-
response = client.send(method_name, args)
|
22
|
+
response = client.send(method_name, *args)
|
23
23
|
response['result']
|
24
24
|
rescue Jsonrpctcp::RPCError => e
|
25
25
|
raise Electrb::Error, e.message
|
data/lib/electrb/version.rb
CHANGED