Parent

Included Modules

Class/Module Index [+]

Quicksearch

Twitter::Action::ListMemberAdded

Attributes

max_position[R]
min_position[R]

Public Instance Methods

sources() click to toggle source

A collection of users who added a user to a list

@return [Array<Twitter::User>]

# File lib/twitter/action/list_member_added.rb, line 13
def sources
  @sources = Array(@attrs[:sources]).map do |user|
    Twitter::User.fetch_or_new(user)
  end
end
target_objects() click to toggle source

A collection of lists that were added to

@return [Array<Twitter::List>]

# File lib/twitter/action/list_member_added.rb, line 22
def target_objects
  @target_objects = Array(@attrs[:target_objects]).map do |list|
    Twitter::List.fetch_or_new(list)
  end
end
targets() click to toggle source

A collection of users who were added to a list

@return [Array<Twitter::User>]

# File lib/twitter/action/list_member_added.rb, line 31
def targets
  @targets = Array(@attrs[:targets]).map do |user|
    Twitter::User.fetch_or_new(user)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.