instance method
recent?
Ruby on Rails edge
Since v6.0.6.1 Private — implementation detail, not part of the public APISignature
recent?()
Allow for 2 minutes of drift between Mailgun time and local server time.
Source
# File actionmailbox/app/controllers/action_mailbox/ingresses/mailgun/inbound_emails_controller.rb, line 125
def recent?
@parsed_timestamp && Time.at(@parsed_timestamp) >= 2.minutes.ago
end
Defined in actionmailbox/app/controllers/action_mailbox/ingresses/mailgun/inbound_emails_controller.rb line 125
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailbox::Ingresses::Mailgun::InboundEmailsController::Authenticator