lib/grape/exceptions/invalid_accept_header.rb in grape-1.2.5 vs lib/grape/exceptions/invalid_accept_header.rb in grape-1.3.0

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + module Grape module Exceptions class InvalidAcceptHeader < Base def initialize(message, headers) super(message: compose_message(:invalid_accept_header, message: message), status: 406, headers: headers)