Skip to Content Skip to Search

class ActionMailbox::Ingresses::Mailgun::InboundEmailsController::Authenticator

Attributes

[R] key
[R] signature
[R] timestamp
[R] token

Public class methods

Source code GitHub
# File actionmailbox/app/controllers/action_mailbox/ingresses/mailgun/inbound_emails_controller.rb, line 87
def initialize(key:, timestamp:, token:, signature:)
  @key, @timestamp, @token, @signature = key, Integer(timestamp), token, signature
end

Public instance methods

Source code GitHub
# File actionmailbox/app/controllers/action_mailbox/ingresses/mailgun/inbound_emails_controller.rb, line 91
def authenticated?
  signed? && recent?
end

Definition files