Class/Module Index [+]

Quicksearch

Twitter::Action::Reply

Public Instance Methods

target_objects() click to toggle source

A collection of tweets that reply to a user

@return [Array<Twitter::Tweet>]

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

A collection that contains the replied-to tweets

@return [Array<Twitter::Tweet>]

# File lib/twitter/action/reply.rb, line 19
def targets
  @targets = Array(@attrs[:targets]).map do |tweet|
    Twitter::Tweet.fetch_or_new(tweet)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.