Skip to Content Skip to Search
v7.1.0
class ActionMailbox::InboundEmailsController::Authenticator < Object
Methods
A
N

Attributes

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

Public class methods

new(key:, timestamp:, token:, signature:)

Permalink
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

authenticated?()

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