Class: Twitter::List
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#[], #initialize, lazy_attr_reader
Constructor Details
This class inherits a constructor from Twitter::Base
Instance Method Details
#==(other) ⇒ Boolean
12 13 14 |
# File 'lib/twitter/list.rb', line 12 def ==(other) super || (other.class == self.class && other.id == self.id) end |
#user ⇒ Twitter::User
17 18 19 |
# File 'lib/twitter/list.rb', line 17 def user @user ||= Twitter::User.new(@attrs['user']) unless @attrs['user'].nil? end |