Sha256: e6bee0cf4532e7b8ca0bc13fe92176ae2378360ffb03d3601c8dc6a437905885

Contents?: true

Size: 269 Bytes

Versions: 4

Compression:

Stored size: 269 Bytes

Contents

# encoding: utf-8
module Grape
  module Exceptions
    class InvalidAcceptHeader < Base
      def initialize(message, headers)
        super(message: compose_message('invalid_accept_header', message: message), status: 406, headers: headers)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
grape-0.14.0 lib/grape/exceptions/invalid_accept_header.rb
grape-0.13.0 lib/grape/exceptions/invalid_accept_header.rb
grape-0.12.0 lib/grape/exceptions/invalid_accept_header.rb
grape-0.11.0 lib/grape/exceptions/invalid_accept_header.rb