Sha256: 2655edba9a2ff4b18414c0a26ae25164674cc268d7c6e31169deab2a97562286

Contents?: true

Size: 230 Bytes

Versions: 6

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

6 entries across 6 versions & 1 rubygems

Version Path
grape-0.14.0 lib/grape/exceptions/missing_mime_type.rb
grape-0.13.0 lib/grape/exceptions/missing_mime_type.rb
grape-0.12.0 lib/grape/exceptions/missing_mime_type.rb
grape-0.11.0 lib/grape/exceptions/missing_mime_type.rb
grape-0.10.1 lib/grape/exceptions/missing_mime_type.rb
grape-0.10.0 lib/grape/exceptions/missing_mime_type.rb