Sha256: 801aa2ea725f7b849f79b5efbee731f9d59d76946ac4330775b33841477dc9cb

Contents?: true

Size: 252 Bytes

Versions: 11

Compression:

Stored size: 252 Bytes

Contents

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