Class: DropboxApi::Metadata::MemberActionList

Inherits:
Array
  • Object
show all
Defined in:
lib/dropbox_api/metadata/member_action_list.rb

Instance Method Summary collapse

Constructor Details

#initialize(list) ⇒ MemberActionList

Builds a list of actions for a shared folder.

Examples:

DropboxApi::Metadata::MemberActionList.new([:leave_a_copy, :make_editor])
# => [:leave_a_copy, :make_editor]

See Also:


9
10
11
# File 'lib/dropbox_api/metadata/member_action_list.rb', line 9

def initialize(list)
  super(list.map { |a| DropboxApi::Metadata::MemberAction.new a })
end