跳至内容 跳至搜索
方法
F
P
S
T

实例公共方法

failure?()

# File actionmailbox/lib/action_mailbox/relayer.rb, line 14
def failure?
  transient_failure? || permanent_failure?
end

permanent_failure?()

# File actionmailbox/lib/action_mailbox/relayer.rb, line 22
def permanent_failure?
  status_code.start_with?("5.")
end

success?()

# File actionmailbox/lib/action_mailbox/relayer.rb, line 10
def success?
  !failure?
end

transient_failure?()

# File actionmailbox/lib/action_mailbox/relayer.rb, line 18
def transient_failure?
  status_code.start_with?("4.")
end