Sha256: ef4b0404208e0d15b254fb6ef3aac2a2ee3c23e89d76a50d8dbf787417e64431

Contents?: true

Size: 233 Bytes

Versions: 11

Compression:

Stored size: 233 Bytes

Contents

module Grape
  module Exceptions
    class InvalidMessageBody < Base
      def initialize(body_format)
        super(message: compose_message(:invalid_message_body, body_format: body_format), status: 400)
      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/invalid_message_body.rb
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/exceptions/invalid_message_body.rb
grape-1.2.5 lib/grape/exceptions/invalid_message_body.rb
grape-1.2.4 lib/grape/exceptions/invalid_message_body.rb
grape-1.2.3 lib/grape/exceptions/invalid_message_body.rb
grape-1.2.2 lib/grape/exceptions/invalid_message_body.rb
grape-1.2.1 lib/grape/exceptions/invalid_message_body.rb
grape-1.2.0 lib/grape/exceptions/invalid_message_body.rb
grape-1.1.0 lib/grape/exceptions/invalid_message_body.rb
grape-1.0.3 lib/grape/exceptions/invalid_message_body.rb
grape-1.0.2 lib/grape/exceptions/invalid_message_body.rb