mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Bring in all of aws-sdk-sns if using Amazon ingress
Requiring _just_ the `Aws::SNS::MessageVerifier` does not work as it references other classes in the AWS SDK that are not in this one class. Bringing in the entire SNS SDK verifies the authenticity correctly.
This commit is contained in:
parent
ff807f823b
commit
fb5c07525f
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ module ActionMailbox
|
|||
|
||||
def self.prepare
|
||||
self.verifier ||= begin
|
||||
require "aws-sdk-sns/message_verifier"
|
||||
require "aws-sdk-sns"
|
||||
Aws::SNS::MessageVerifier.new
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue