The user who mentioned a user
@return [Twitter::User]
# File lib/twitter/action/mention.rb, line 22 def source @source = sources.first end
A collection of users who mentioned a user
@return [Array<Twitter::User>]
# File lib/twitter/action/mention.rb, line 13 def sources @sources = Array(@attrs[:sources]).map do |user| Twitter::User.fetch_or_new(user) end end
Generated with the Darkfish Rdoc Generator 2.