lib/grape/exceptions/invalid_accept_header.rb in grape-0.14.0 vs lib/grape/exceptions/invalid_accept_header.rb in grape-0.15.0

- old
+ new

@@ -1,10 +1,10 @@ # 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) + super(message: compose_message(:invalid_accept_header, message: message), status: 406, headers: headers) end end end end