Sha256: a761dd49920b92080b2b96fb40816b5b88bd6a64ee9002f0ec6bf47de9c5524d
Contents?: true
Size: 664 Bytes
Versions: 7
Compression:
Stored size: 664 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}: # [{ # "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
7 entries across 7 versions & 1 rubygems