Parent

Methods

Included Modules

Class/Module Index [+]

Quicksearch

Twitter::Action::Follow

Attributes

max_position[R]
min_position[R]
target_objects[R]

Public Instance Methods

sources() click to toggle source

A collection of users who followed a user

@return [Array<Twitter::User>]

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

A collection containing the followed user

@return [Array<Twitter::User>]

# File lib/twitter/action/follow.rb, line 23
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.