Exception: Syntropy::InvalidRequestContentTypeError

Inherits:
Error
  • Object
show all
Defined in:
lib/syntropy/errors.rb

Constant Summary

Constants inherited from Error

Error::DEFAULT_STATUS

Instance Method Summary collapse

Methods inherited from Error

http_status, #initialize, log_error?, method_not_allowed, not_found, teapot

Constructor Details

This class inherits a constructor from Syntropy::Error

Instance Method Details

#http_statusObject



89
90
91
# File 'lib/syntropy/errors.rb', line 89

def http_status
  HTTP::UNSUPPORTED_MEDIA_TYPE
end