noticed 1.2.7 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fcd5afdca1ab2862bca9259b3015f86d93ab323eb64b6f8de666f9067216b202
4
- data.tar.gz: 8c6a53d533eb2667c44804b4a7a5e518b4ab7938b345c6105490145bb4fdb75a
3
+ metadata.gz: 8612d56239114aba89f0a57365165e8e4eed4ca1a6291392099aede62ff5a852
4
+ data.tar.gz: 102c543b03ce37815165f056ce90c6c8ccb42e4cbe771a2e10b7d9c2d69d9245
5
5
  SHA512:
6
- metadata.gz: 21ea1e549dcbd0857fea6538a0fc2d17ba5f0d249b7f39d1e1d33a56cbece35a3413605d8c1a6e71a381a424b6db93c82bfe7de19d87e3e669c569926fa4a42b
7
- data.tar.gz: 1e85eb2edfbbac61fa9bcacf91a4fe041adc945c54ad029a6e8ab75e3d4fc64d52fbcf8527e43da9d0fd3c30e267c2c1e13bafbdf10662f6f826758a1a4f3f41
6
+ metadata.gz: '094d06187629f0ea3faa41ccd570da239fcad6f94a5de59235d4afa87c623d62aa4635aadde71b7e3f8e6956e57b10e17efd0387005b779ca613e45f57918693'
7
+ data.tar.gz: 9b84a30978138d9bf9dbbb440f921fde3bd6b503055eb100d556247e4ca4e7dfdfa775912323f9df6a5103962b994d821ed17367c4e2357dd254567b7a6a1eda
@@ -17,16 +17,16 @@ module Noticed
17
17
 
18
18
  def channel
19
19
  @channel ||= begin
20
- value = options[:channel]
21
- case value
22
- when String
23
- value.constantize
24
- when Symbol
25
- notification.send(value)
26
- when Class
27
- value
28
- else
29
- Noticed::NotificationChannel
20
+ value = options[:channel]
21
+ case value
22
+ when String
23
+ value.constantize
24
+ when Symbol
25
+ notification.send(value)
26
+ when Class
27
+ value
28
+ else
29
+ Noticed::NotificationChannel
30
30
  end
31
31
  end
32
32
  end
@@ -2,7 +2,7 @@ module Noticed
2
2
  module DeliveryMethods
3
3
  class Twilio < Base
4
4
  def deliver
5
- HTTP.basic_auth(user: account_sid, pass: auth_token).post(url, json: format)
5
+ HTTP.basic_auth(user: account_sid, pass: auth_token).post(url, form: format)
6
6
  end
7
7
 
8
8
  private
@@ -1,3 +1,3 @@
1
1
  module Noticed
2
- VERSION = "1.2.7"
2
+ VERSION = "1.2.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noticed
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.7
4
+ version: 1.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Oliver