lib/chef-api/resources/base.rb in chef-api-0.5.0 vs lib/chef-api/resources/base.rb in chef-api-0.6.0
- old
+ new
@@ -925,10 +925,10 @@
#
# The JSON serialization of this resource.
#
# @return [String]
#
- def to_json
+ def to_json(*)
JSON.fast_generate(to_hash)
end
#
# Custom to_s method for easier readability.