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, timestamp.to_s, token, signature
  @parsed_timestamp = Integer(timestamp, exception: false)
end

Instance Public methods

authenticated?()

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