Sha256: 29cc2bfe4c72e8b41548d8199de616704eee5c0e68a9cf187987d142f43f0ab6

Contents?: true

Size: 211 Bytes

Versions: 11

Compression:

Stored size: 211 Bytes

Contents

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

11 entries across 11 versions & 2 rubygems

Version Path
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/grape-1.2.5/lib/grape/exceptions/missing_mime_type.rb
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/missing_mime_type.rb
grape-1.2.5 lib/grape/exceptions/missing_mime_type.rb
grape-1.2.4 lib/grape/exceptions/missing_mime_type.rb
grape-1.2.3 lib/grape/exceptions/missing_mime_type.rb
grape-1.2.2 lib/grape/exceptions/missing_mime_type.rb
grape-1.2.1 lib/grape/exceptions/missing_mime_type.rb
grape-1.2.0 lib/grape/exceptions/missing_mime_type.rb
grape-1.1.0 lib/grape/exceptions/missing_mime_type.rb
grape-1.0.3 lib/grape/exceptions/missing_mime_type.rb
grape-1.0.2 lib/grape/exceptions/missing_mime_type.rb