google-api-fcm 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75565301397620df5b9d1228c69df7c6e6c7c6cadb21ddd3934ab94d2af9259a
|
4
|
+
data.tar.gz: 6ba68e2abb426cc32f86103f4ea0d9278f583cebf0e1230fa3e947d7b311dea1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f59d151afe07ee9bb34ad0e0ecd2061c995f931c80c9431e57c6f682427ad7cbb9bffa343dbf2cd8ba1cf7298e341f6166a6c0eb8a80e8ea2d814b3f114bdd53
|
7
|
+
data.tar.gz: 8a0c6f3aaa7c6caa3e1f6eaa08497d150330d4a891789f2c159ea60e5381c0e7bf0a54a8e769b94306f81e3ca81bdc11645c54a996659e1774e8a17a0376d1e2
|
@@ -24,6 +24,7 @@ module Google
|
|
24
24
|
|
25
25
|
message_object_args = {
|
26
26
|
topic: args[:topic],
|
27
|
+
condition: args[:condition],
|
27
28
|
token: args[:token],
|
28
29
|
data: args[:payload]
|
29
30
|
}
|
@@ -68,6 +69,7 @@ module Google
|
|
68
69
|
include Google::Apis::Core::Hashable
|
69
70
|
|
70
71
|
attr_accessor :topic
|
72
|
+
attr_accessor :condition
|
71
73
|
attr_accessor :token
|
72
74
|
attr_accessor :notification
|
73
75
|
attr_accessor :data
|
@@ -83,6 +85,7 @@ module Google
|
|
83
85
|
# Update properties of this object
|
84
86
|
def update!(**args)
|
85
87
|
@topic = args[:topic] if args.key?(:topic)
|
88
|
+
@condition = args[:condition] if args.key?(:condition)
|
86
89
|
@token = args[:token] if args.key?(:token)
|
87
90
|
@notification = args[:notification] if args.key?(:notification)
|
88
91
|
if args.key?(:data) && args[:data].is_a?(Hash)
|
@@ -34,6 +34,7 @@ module Google
|
|
34
34
|
# @private
|
35
35
|
class Representation < Google::Apis::Core::JsonRepresentation
|
36
36
|
property :topic, as: 'topic'
|
37
|
+
property :condition, as: 'condition'
|
37
38
|
property :token, as: 'token'
|
38
39
|
property :data, as: 'data'
|
39
40
|
property :notification, as: 'notification',
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-api-fcm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ilya Krigouzov
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-api-client
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.17'
|
27
|
-
description:
|
27
|
+
description:
|
28
28
|
email:
|
29
29
|
- webmaster@oniksfly.com
|
30
30
|
executables: []
|
@@ -39,7 +39,7 @@ homepage: https://github.com/oniksfly/google-api-fcm
|
|
39
39
|
licenses:
|
40
40
|
- Apache-2.0
|
41
41
|
metadata: {}
|
42
|
-
post_install_message:
|
42
|
+
post_install_message:
|
43
43
|
rdoc_options: []
|
44
44
|
require_paths:
|
45
45
|
- lib
|
@@ -54,8 +54,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '0'
|
56
56
|
requirements: []
|
57
|
-
|
58
|
-
|
57
|
+
rubyforge_project:
|
58
|
+
rubygems_version: 2.7.6
|
59
|
+
signing_key:
|
59
60
|
specification_version: 4
|
60
61
|
summary: Client for accessing Firebase Cloud Messaging APIs
|
61
62
|
test_files: []
|