跳至内容 跳至搜索
方法
A
N

属性

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

类公共方法

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

实例公共方法

authenticated?()

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