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: ea1df71c2e949a83400d11c428d3647ca44cc984fb9c699c1dd991dddcd57855
4
- data.tar.gz: b45d62ec42e96b7eb0c181ed8281b0f7dfcbe0db1fb51fdbeccf015a10b1edd4
3
+ metadata.gz: 75565301397620df5b9d1228c69df7c6e6c7c6cadb21ddd3934ab94d2af9259a
4
+ data.tar.gz: 6ba68e2abb426cc32f86103f4ea0d9278f583cebf0e1230fa3e947d7b311dea1
5
5
  SHA512:
6
- metadata.gz: 57dfc14e36e5c6643084a3d30eff775af304191fe884c970bf08b639e364d5411851c9ee47c2fcfcc651f68af5407549dd614a3a4b3bae318065cca50b573d91
7
- data.tar.gz: 5df3fb384a948e0bd9dba67dfcf75e5f3b1235e8826793f5c8cb02b53d0960acb7ced165899408ac48df9c2a8b89cce3dc3366251090dfd63a437933ab67f647
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.8
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: 2020-03-19 00:00:00.000000000 Z
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
- rubygems_version: 3.0.3
58
- signing_key:
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: []