messaging_client 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/sns_helper.rb +7 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 806950664bcd675248588afc88fd7928351122b5d4da758692cb34fabd4f76b3
|
4
|
+
data.tar.gz: 9d116c4b6cbacbdf9ba5ee202bac631255be01fe508937a3db42e9c4b0c3ff8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b33d4d650cc74b745c90d78855aadce1ef426f6c46bbd019d64742af714ddb982ad70dfeae722f83661ac2dbc5c49060c2109c53f875b30da5c010d2ad15cfbf
|
7
|
+
data.tar.gz: c928a574626cd5b2c01838d40be69d0246a3d12fdd0d4971537a616867b88956ef782b4745dee0ba96b996115b33d234d934ee970ef3748049514d30d77938b9
|
data/app/helpers/sns_helper.rb
CHANGED
@@ -26,7 +26,13 @@ module SnsHelper
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def raw_data
|
29
|
-
request.body.respond_to?(:string)
|
29
|
+
if request.body.respond_to?(:string)
|
30
|
+
request.body.string
|
31
|
+
elsif request.body.respond_to?(:read)
|
32
|
+
request.body.read
|
33
|
+
else
|
34
|
+
request.body
|
35
|
+
end
|
30
36
|
end
|
31
37
|
|
32
38
|
def sns_message_id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: messaging_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dwayne Macgowan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|