lib/grape/exceptions/invalid_formatter.rb in grape-0.6.0 vs lib/grape/exceptions/invalid_formatter.rb in grape-0.6.1
- old
+ new
@@ -2,10 +2,10 @@
module Grape
module Exceptions
class InvalidFormatter < Base
def initialize(klass, to_format)
- super(:message => compose_message("invalid_formatter", :klass => klass, :to_format => to_format))
+ super(message: compose_message("invalid_formatter", klass: klass, to_format: to_format))
end
end
end