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