Sha256: c38b3d7825f9ca76d20bf2691c3ee0e02fc38a272f817d7fbcb3f462384f2382

Contents?: true

Size: 230 Bytes

Versions: 4

Compression:

Stored size: 230 Bytes

Contents

# encoding: utf-8
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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
grape-security-0.8.0 lib/grape/exceptions/missing_mime_type.rb
grape-0.9.0 lib/grape/exceptions/missing_mime_type.rb
grape-0.8.0 lib/grape/exceptions/missing_mime_type.rb
grape-0.7.0 lib/grape/exceptions/missing_mime_type.rb