class Erratum::Errors::InvalidToken
Attributes
authentication_token[RW]
Public Instance Methods
detail()
click to toggle source
# File lib/erratum/errors/authentication/invalid_token.rb, line 22 def detail <<~HEREDOC.chomp.tr("\n", ' ') The token you attempted to use for this request is invalid for this resource. Please double-check and try again. HEREDOC end
http_status()
click to toggle source
# File lib/erratum/errors/authentication/invalid_token.rb, line 14 def http_status 401 end
source()
click to toggle source
# File lib/erratum/errors/authentication/invalid_token.rb, line 29 def source { token: '[FILTERED]' } end
title()
click to toggle source
# File lib/erratum/errors/authentication/invalid_token.rb, line 18 def title 'Invalid Token' end