class Kadmin::Auth::UnauthorizedError
Public Instance Methods
message()
click to toggle source
Attempts to translate message, if not found returns message as a string
# File lib/kadmin/auth/unauthorized_error.rb, line 5 def message I18n.t(@message, default: @message) end
title()
click to toggle source
# File lib/kadmin/auth/unauthorized_error.rb, line 9 def title I18n.t('kadmin.auth.unauthorized') end