ruby-grape/grape

View on GitHub
lib/grape/exceptions/missing_mime_type.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Grape
  module Exceptions
    class MissingMimeType < Base
      def initialize(new_format)
        super(message: compose_message(:missing_mime_type, new_format: new_format))
      end
    end
  end
end