uniqush-rb 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/uniqush/restful_client.rb +1 -1
- data/lib/uniqush/version.rb +1 -1
- data/spec/uniqush/restul_client_spec.rb +1 -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: 80f0966c8e6948c4b8b6851f6e1634459937f877
|
4
|
+
data.tar.gz: fa52bfd441df395be58433d2ea126a5807a23f8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 538d71f7c9f5461c80244e6a807022a7dfe446f1e1311b4b4ed860f193a6a0e770d38a9e4a3fb7841ae13b0d838d0270c8f94a092e51acbbf94274b1fd9cae36
|
7
|
+
data.tar.gz: 86697414d766576aca6b5e211c2465f2916ca2302fb5f13f6701c3c2265b453ebb603526e57317ad35ca1957381d0dd47a769a40eaffa6b80f931419f58a62cc
|
data/Gemfile.lock
CHANGED
@@ -9,7 +9,7 @@ module Uniqush
|
|
9
9
|
remove_service: [:delete, "push_service_providers"],
|
10
10
|
subscribe_device: [:post, "subscribers"],
|
11
11
|
unsubscribe_device: [:delete, "subscribers"],
|
12
|
-
push: [:post, "
|
12
|
+
push: [:post, "push_notifications"]
|
13
13
|
}.freeze
|
14
14
|
|
15
15
|
def initialize(base_url)
|
data/lib/uniqush/version.rb
CHANGED
@@ -22,7 +22,7 @@ describe Uniqush::RestfulClient do
|
|
22
22
|
describe "pushing" do
|
23
23
|
it "pushes" do
|
24
24
|
expect { client.push(a_hash) }.
|
25
|
-
to request(:post, "#{base_url}/
|
25
|
+
to request(:post, "#{base_url}/push_notifications").with(body: a_hash.to_json)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|