Sha256: b8c39eb7947153a756b25ac3f9d6204ee29f4a990b0208492ee3cdc7c09e82dc
Contents?: true
Size: 331 Bytes
Versions: 4
Compression:
Stored size: 331 Bytes
Contents
require 'equalizer' require 'twitter/base' module Twitter class Suggestion < Twitter::Base include Equalizer.new(:slug) attr_reader :name, :size, :slug # @return [Array<Twitter::User>] def users Array(@attrs[:users]).collect do |user| User.new(user) end end memoize :users end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
twitter-5.8.0 | lib/twitter/suggestion.rb |
twitter-5.7.1 | lib/twitter/suggestion.rb |
twitter-5.7.0 | lib/twitter/suggestion.rb |
twitter-5.6.0 | lib/twitter/suggestion.rb |