Methods

Class/Module Index [+]

Quicksearch

Twitter::Action::Favorite

Attributes

target_objects[R]

Public Instance Methods

targets() click to toggle source

A collection containing the favorited tweet

@return [Array<Twitter::Tweet>]

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