Methods
Instance Public methods
failure?()
📝 Source code
# File actionmailbox/lib/action_mailbox/relayer.rb, line 14
def failure?
transient_failure? || permanent_failure?
end
🔎 See on GitHub
permanent_failure?()
📝 Source code
# File actionmailbox/lib/action_mailbox/relayer.rb, line 22
def permanent_failure?
status_code.start_with?("5.")
end
🔎 See on GitHub
success?()
📝 Source code
# File actionmailbox/lib/action_mailbox/relayer.rb, line 10
def success?
!failure?
end
🔎 See on GitHub
transient_failure?()
📝 Source code
# File actionmailbox/lib/action_mailbox/relayer.rb, line 18
def transient_failure?
status_code.start_with?("4.")
end
🔎 See on GitHub