Sha256: 19eb8a79a383a58afd7564e96df3f83ed296bba0e00b1df4572e22f8e34de43e

Contents?: true

Size: 229 Bytes

Versions: 10

Compression:

Stored size: 229 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

10 entries across 10 versions & 1 rubygems

Version Path
grape-1.0.1 lib/grape/exceptions/missing_mime_type.rb
grape-1.0.0 lib/grape/exceptions/missing_mime_type.rb
grape-0.19.2 lib/grape/exceptions/missing_mime_type.rb
grape-0.19.1 lib/grape/exceptions/missing_mime_type.rb
grape-0.19.0 lib/grape/exceptions/missing_mime_type.rb
grape-0.18.0 lib/grape/exceptions/missing_mime_type.rb
grape-0.17.0 lib/grape/exceptions/missing_mime_type.rb
grape-0.16.2 lib/grape/exceptions/missing_mime_type.rb
grape-0.16.1 lib/grape/exceptions/missing_mime_type.rb
grape-0.15.0 lib/grape/exceptions/missing_mime_type.rb