lib/grape/exceptions/invalid_accept_header.rb in grape-1.0.1 vs lib/grape/exceptions/invalid_accept_header.rb in grape-1.0.2
- old
+ new
@@ -1,5 +1,4 @@
-# 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)