Source: show | on GitHub
# File actionmailbox/lib/action_mailbox/relayer.rb, line 14 def failure? transient_failure? || permanent_failure? end
# File actionmailbox/lib/action_mailbox/relayer.rb, line 22 def permanent_failure? status_code.start_with?("5.") end
# File actionmailbox/lib/action_mailbox/relayer.rb, line 10 def success? !failure? end
# File actionmailbox/lib/action_mailbox/relayer.rb, line 18 def transient_failure? status_code.start_with?("4.") end