Sha256: a24e6961afb1ea91395e72b6bacd685c6465b7d5e8ffba067f9d9ec34e28516a

Contents?: true

Size: 283 Bytes

Versions: 22

Compression:

Stored size: 283 Bytes

Contents

# frozen_string_literal: true

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

22 entries across 22 versions & 2 rubygems

Version Path
grape-1.3.1 lib/grape/exceptions/invalid_version_header.rb
grape-1.3.0 lib/grape/exceptions/invalid_version_header.rb