class ActionMailbox::Ingresses::Mandrill::InboundEmailsController::Authenticator
Attributes
[R] | key |
|
[R] | request |
Public class methods
Source code GitHub
# File actionmailbox/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb, line 64
def initialize(request, key)
@request, @key = request, key
end
Public instance methods
Source code GitHub
# File actionmailbox/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb, line 68
def authenticated?
ActiveSupport::SecurityUtils.secure_compare given_signature, expected_signature
end