diff options
author | Rob Zolkos <rob@zolkos.com> | 2019-01-09 15:46:38 -0500 |
---|---|---|
committer | Rob Zolkos <rob@zolkos.com> | 2019-01-09 17:16:08 -0500 |
commit | fb5c07525f64f15aad3a15b6e6add80d790dad1b (patch) | |
tree | 7ad217579f7e620baf73e55d1d7c0e7be828daae | |
parent | ff807f823b869d3491935a096183ee2bebd58e7b (diff) | |
download | rails-fb5c07525f64f15aad3a15b6e6add80d790dad1b.tar.gz rails-fb5c07525f64f15aad3a15b6e6add80d790dad1b.tar.bz2 rails-fb5c07525f64f15aad3a15b6e6add80d790dad1b.zip |
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.
-rw-r--r-- | actionmailbox/app/controllers/action_mailbox/ingresses/amazon/inbound_emails_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailbox/app/controllers/action_mailbox/ingresses/amazon/inbound_emails_controller.rb b/actionmailbox/app/controllers/action_mailbox/ingresses/amazon/inbound_emails_controller.rb index cf45ac8408..e0a187054e 100644 --- a/actionmailbox/app/controllers/action_mailbox/ingresses/amazon/inbound_emails_controller.rb +++ b/actionmailbox/app/controllers/action_mailbox/ingresses/amazon/inbound_emails_controller.rb @@ -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 |