Class: ProsperWorks::Errors::Unprocessable

Inherits:
Base
  • Object
show all
Defined in:
lib/prosperworks/errors/unprocessable.rb

Class Method Summary collapse

Class Method Details

.msgObject



9
10
11
# File 'lib/prosperworks/errors/unprocessable.rb', line 9

def self.msg
  "The request is allowed and the resource exists, but is semantically invalid"
end

.status_codeObject



5
6
7
# File 'lib/prosperworks/errors/unprocessable.rb', line 5

def self.status_code
  422
end