README.md in pmp-0.1.3 vs README.md in pmp-0.2.0
- old
+ new
@@ -108,10 +108,10 @@
# can add an attribute (doesn't check schema yet)
doc.adding_an_attribute = "this will get saved as a new attribute adding-an-attribute"
# can add links (doesn't check schema yet)
-doc.links['some-new-link'] = PMP::Link.new(doc, {href:'http://somenewlink.io'})
+doc.links['some-new-link'] = PMP::Link.new({href:'http://somenewlink.io'})
new_link = doc.some_new_link
# save changes
doc.save