The current API user is not the owner of this document (PrivilegeError)
perchard opened this issue · 0 comments
perchard commented
Saving a document retrieved via find throws a PrivilegeError: http://rubydoc.info/github/scribd/rscribd/master/Scribd/PrivilegeError
The document retrieved find Scribd::Document.find does not have an associated owner, i.e. @attributes[:owner] is nil (even when the owner attribute is explicitly set on creation, i.e. Scribd::Document.new(:file => file, :owner => Scribd::API.instance.user).
The destroy method works with no problem.