instance method
authenticated?
Ruby on Rails 8.0.4
Since v6.0.6 PrivateSignature
authenticated?()
No documentation comment.
Source
# File actionmailbox/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb, line 46
def authenticated?
if key.present?
Authenticator.new(request, key).authenticated?
else
raise ArgumentError, <<~MESSAGE.squish
Missing required Mandrill API key. Set action_mailbox.mandrill_api_key in your application's
encrypted credentials or provide the MANDRILL_INGRESS_API_KEY environment variable.
MESSAGE
end
end
Defined in actionmailbox/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb line 46
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailbox::Ingresses::Mandrill::InboundEmailsController