Exception: SmartAdapters::Exceptions::InvalidRequestFormatException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/smart_adapters/exceptions/invalid_request_format_exception.rb

Constant Summary collapse

ERROR_MESSAGE =
'Request format not supported.' \
'Formats available: html, json, js, xml'

Instance Method Summary collapse

Constructor Details

#initializeInvalidRequestFormatException

Returns a new instance of InvalidRequestFormatException.



9
10
11
# File 'lib/smart_adapters/exceptions/invalid_request_format_exception.rb', line 9

def initialize
  super ERROR_MESSAGE
end