notifiable-sender 0.7.0 → 0.7.1

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
  SHA1:
3
- metadata.gz: a2f54a5095929842bc65d4478c638a0eb42fbc97
4
- data.tar.gz: a93c3622fde849c31b873271f2b428c93eeff9ff
3
+ metadata.gz: e3d073a2ee72a393ec5b5eaa4dee362332f228a7
4
+ data.tar.gz: c7ad0fae2823b9065a1905789218a527253c076d
5
5
  SHA512:
6
- metadata.gz: 5f36837bf729609d421c2947cf0039f6ee66ab8b1d4a5bfff058885a82aaa47d431394c933a782fbb657537ebfd1705d5c2df929d542bb0a03d52d235cc44a01
7
- data.tar.gz: 0cdc0da28cc6239f884ae198f5e3193c225bfef226d4c02f030c38a953ef13a495a423020a70dca92439d964569e6e052f4c11e610695f5a90e722bfd5b36bc5
6
+ metadata.gz: b63ea1f2d45b4e8c6e5fe0d2f11ade66db6cd8b7cf48db460c0dc37547477b5807baae75a94cfc03e8dee3c72aab529126d536a2385effdd908aec4864b39ac7
7
+ data.tar.gz: 50d4939019348e68c8a9504bf59d28f716152c2554d73bb1b0a8b633c473460d4f55f72df68fd2fedee657ed9496c1c12bd63ea43932f7f1379075b312d94c5c
@@ -12,13 +12,13 @@ module Notifiable
12
12
  @base_uri, @access_id, @secret_key, @logger = base_uri, access_id, secret_key, logger
13
13
  end
14
14
 
15
- def send_media_notification_to_users(user_aliases, media_url, title: nil, message: nil, parameters: {}, content_avaliable: nil, thread_id:nil)
15
+ def send_media_notification_to_users(user_aliases, media_url, title: nil, message: nil, parameters: {}, content_available: nil, thread_id:nil)
16
16
  raise 'user_aliases should be an array' unless user_aliases.is_a? Array
17
17
  raise 'media_url should not be blank' if media_url.nil? || media_url.empty?
18
18
 
19
19
  parameters = {media_url: media_url}.merge(parameters)
20
20
  filters = [{property: "user_alias", predicate: "in", value: user_aliases}]
21
- send_notification(title: title, message: message, parameters: parameters, content_available: content_avaliable, filters: filters, thread_id: thread_id, mutable_content: true)
21
+ send_notification(title: title, message: message, parameters: parameters, content_available: content_available, filters: filters, thread_id: thread_id, mutable_content: true)
22
22
  end
23
23
 
24
24
  def send_notification_to_users(user_aliases, title: nil, message: nil, parameters: nil, content_available: nil, thread_id: nil, mutable_content: nil)
@@ -1,3 +1,3 @@
1
1
  module Notifiable
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notifiable-sender
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brooke-Smith
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-26 00:00:00.000000000 Z
11
+ date: 2018-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client