lib/wcc/contentful/indexed_representation.rb in wcc-contentful-0.4.0.pre.rc vs lib/wcc/contentful/indexed_representation.rb in wcc-contentful-1.0.0.pre.rc1
- old
+ new
@@ -27,11 +27,11 @@
ret[id] = ContentType.new(content_type_hash)
end
ret
end
- def to_json
- @types.to_json
+ def to_json(*args)
+ @types.to_json(*args)
end
def deep_dup
self.class.new(@types.deep_dup)
end