require 'twitter/action/tweet' module Twitter module Action class Favorite < Twitter::Action::Tweet attr_reader :target_objects # A collection containing the favorited tweet # # @return [Array] def targets @targets = Array(@attrs[:targets]).map do |tweet| Twitter::Tweet.fetch_or_new(tweet) end end end end end