lib/pmp/client.rb in pmp-0.3.2 vs lib/pmp/client.rb in pmp-0.4.0

- old
+ new

@@ -26,10 +26,10 @@ @root ||= PMP::CollectionDocument.new(opts) end def doc_of_type(type, opts={}) doc = PMP::CollectionDocument.new(options.merge(root:root(opts)).merge(opts)) - doc.links['profile'] = Link.new(href: profile_href_for_type(type), type: "application/vnd.pmp.collection.doc+json") + doc.links['profile'] = Link.new(href: profile_href_for_type(type), type: "application/vnd.collection.doc+json") doc end # private