lib/grape/formatter/json.rb in grape-0.11.0 vs lib/grape/formatter/json.rb in grape-0.12.0
- old
+ new
@@ -1,9 +1,9 @@
module Grape
module Formatter
module Json
class << self
- def call(object, env)
+ def call(object, _env)
return object.to_json if object.respond_to?(:to_json)
MultiJson.dump(object)
end
end
end