class Apiphobic::Errors::UnpermittedSorts
Attributes
sorts[RW]
Public Instance Methods
detail()
click to toggle source
# File lib/apiphobic/errors/unpermitted_sorts.rb, line 20 def detail <<~HEREDOC.chomp.tr("\n", ' ') One or more of the sorts you attempted to pass via the "sort" parameter are either not available or not authorized. HEREDOC end
http_status()
click to toggle source
# File lib/apiphobic/errors/unpermitted_sorts.rb, line 12 def http_status 422 end
source()
click to toggle source
# File lib/apiphobic/errors/unpermitted_sorts.rb, line 27 def source { sorts: sorts } end
title()
click to toggle source
# File lib/apiphobic/errors/unpermitted_sorts.rb, line 16 def title 'Unpermitted Sort' end