Skip to content
This repository was archived by the owner on Oct 24, 2019. It is now read-only.
This repository was archived by the owner on Oct 24, 2019. It is now read-only.

The current API user is not the owner of this document (PrivilegeError) #4

@perchard

Description

@perchard

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions