Sha256: 8346b2cbdf2b89b9f9dbf8a291d2c245c21c23dfb1616270712526ae73ac3225
Contents?: true
Size: 915 Bytes
Versions: 8
Compression:
Stored size: 915 Bytes
Contents
module DropboxApi::Metadata # An action will be one of the following: # # - `:leave_a_copy`: Allow the member to keep a copy of the folder when # removing. # - `:make_editor`: Make the member an editor of the folder. # - `:make_owner`: Make the member an owner of the folder. # - `:make_viewer`: Make the member a viewer of the folder. # - `:make_viewer_no_comment`: Make the member a viewer of the folder without # commenting permissions. # - `:remove`: Remove the member from the folder. # # Example of a serialized {MemberAction} object: # # ```json # { # ".tag": "leave_a_copy" # } # ``` class MemberAction < DropboxApi::Metadata::Tag VALID_MEMBER_ACTIONS = [ :leave_a_copy, :make_editor, :make_owner, :make_viewer, :make_viewer_no_comment, :remove ] def self.valid_values VALID_MEMBER_ACTIONS end end end
Version data entries
8 entries across 8 versions & 1 rubygems