Sha256: 195a9f3006978c572220d628a473648f9253821bd1fdbc6859c54aac370622cd
Contents?: true
Size: 650 Bytes
Versions: 8
Compression:
Stored size: 650 Bytes
Contents
module DropboxApi::Metadata # This represents a collection of permissions on allowed on a # shared file or folder. # # This is an example of a serialized {MemberActionList}: # ```json # [{ # "action": { # ".tag": "remove" # }, # "allow": false, # "reason": { # ".tag": "target_is_self" # } # }, { # "action": { # ".tag": "make_owner" # }, # "allow": false, # "reason": { # ".tag": "target_is_self" # } # }] # ``` class MemberPermissionList < Array def initialize(list) super(list.map { |i| DropboxApi::Metadata::MemberPermission.new i }) end end end
Version data entries
8 entries across 8 versions & 1 rubygems