Exception: Grape::Exceptions::MissingMimeType
- Defined in:
- lib/grape/exceptions/missing_mime_type.rb
Constant Summary
Constants inherited from Base
Base::BASE_ATTRIBUTES_KEY, Base::BASE_MESSAGES_KEY, Base::FALLBACK_LOCALE
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(new_format) ⇒ MissingMimeType
constructor
A new instance of MissingMimeType.
Methods inherited from Base
Constructor Details
#initialize(new_format) ⇒ MissingMimeType
Returns a new instance of MissingMimeType.
6 7 8 |
# File 'lib/grape/exceptions/missing_mime_type.rb', line 6 def initialize(new_format) super(message: (:missing_mime_type, new_format: new_format)) end |