Sha256: 50d65bc23f075b839c87b6fecec755b040265b318afaea01c0b622fb6a8f9e92

Contents?: true

Size: 407 Bytes

Versions: 15

Compression:

Stored size: 407 Bytes

Contents

module DropboxApi::Metadata
  class MemberActionList < Array
    # Builds a list of actions for a shared folder.
    #
    # @example
    #   DropboxApi::Metadata::MemberActionList.new([:leave_a_copy, :make_editor])
    #   # => [:leave_a_copy, :make_editor]
    # @see Metadata::MemberAction
    def initialize(list)
      super(list.map { |a| DropboxApi::Metadata::MemberAction.new a })
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
dropbox_api-0.1.18 lib/dropbox_api/metadata/member_action_list.rb
dropbox_api-0.1.17 lib/dropbox_api/metadata/member_action_list.rb
dropbox_api-0.1.16 lib/dropbox_api/metadata/member_action_list.rb
dropbox_api-0.1.15 lib/dropbox_api/metadata/member_action_list.rb
dropbox_api-0.1.14 lib/dropbox_api/metadata/member_action_list.rb
dropbox_api-0.1.13 lib/dropbox_api/metadata/member_action_list.rb
dropbox_api-0.1.12 lib/dropbox_api/metadata/member_action_list.rb
dropbox_api-0.1.11 lib/dropbox_api/metadata/member_action_list.rb
dropbox_api-0.1.10 lib/dropbox_api/metadata/member_action_list.rb
dropbox_api-0.1.9 lib/dropbox_api/metadata/member_action_list.rb
dropbox_api-0.1.8 lib/dropbox_api/metadata/member_action_list.rb
dropbox_api-0.1.7 lib/dropbox_api/metadata/member_action_list.rb
dropbox_api-0.1.6 lib/dropbox_api/metadata/member_action_list.rb
dropbox_api-0.1.5 lib/dropbox_api/metadata/member_action_list.rb
dropbox_api-0.1.4 lib/dropbox_api/metadata/member_action_list.rb