Skip to Content Skip to Search
Methods
A
N

Attributes

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

Class Public methods

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

# 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

Instance Public methods

authenticated?()

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