class Grape::Exceptions::MissingMimeType

Public Class Methods

new(new_format) click to toggle source
Calls superclass method Grape::Exceptions::Base::new
# File lib/grape/exceptions/missing_mime_type.rb, line 5
def initialize(new_format)
  super(message: compose_message("missing_mime_type", new_format: new_format))
end