pusher-platform 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pusher-platform/base_client.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b88108bc83be3d0cc6b2632badb4b70a48a490d3
|
4
|
+
data.tar.gz: aee040b32d24f26bd02d1f1b220ae2430d97e150
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75211a57a17fb0ad21cd1399a8e358ff53c17064fde3569d23d3e251d061d59c8fb6c8bd2b07670dfa8d5cadd82a55d783540bde9af41c46953df06504160f97
|
7
|
+
data.tar.gz: 82908416dd2f6a385b4a8a0b06d04ad7e00c88fbdf3b2dad0c4652621a2fac8b989c3881f0473281e8afc9cc698898959bca93e549c869d85bf3728a2b019fbc
|
@@ -29,7 +29,9 @@ module Pusher
|
|
29
29
|
end
|
30
30
|
|
31
31
|
path = "services/#{@service_name}/#{@service_version}/#{@instance_id}/#{options[:path]}"
|
32
|
-
body =
|
32
|
+
body = unless options[:body].nil?
|
33
|
+
options[:body].to_json
|
34
|
+
end
|
33
35
|
|
34
36
|
response = @connection.request(
|
35
37
|
method: options[:method],
|