class Erratum::Errors::InvalidUsernameOrPassword

Attributes

username[RW]

Public Instance Methods

detail() click to toggle source
# File lib/erratum/errors/authentication/invalid_username_or_password.rb, line 22
  def detail
    <<~HEREDOC.chomp.tr("\n", ' ')
      Either the username or password passed in or this request is invalid.
      Please double-check and try again.
    HEREDOC
  end
http_status() click to toggle source
# File lib/erratum/errors/authentication/invalid_username_or_password.rb, line 14
def http_status
  401
end
source() click to toggle source
# File lib/erratum/errors/authentication/invalid_username_or_password.rb, line 29
def source
  { username: username, password: '[FILTERED]' }
end
title() click to toggle source
# File lib/erratum/errors/authentication/invalid_username_or_password.rb, line 18
def title
  'Invalid Username/Password'
end