Class: Twitter::List
- Inherits:
-
Base
- Object
- Base
- Twitter::List
- Includes:
- Creatable
- Defined in:
- lib/twitter/list.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary (collapse)
Methods included from Creatable
Methods inherited from Base
#[], #initialize, lazy_attr_reader
Constructor Details
This class inherits a constructor from Twitter::Base
Instance Method Details
- (Boolean) ==(other)
14 15 16 |
# File 'lib/twitter/list.rb', line 14 def ==(other) super || (other.class == self.class && other.id == self.id) end |
- (Twitter::User) user
19 20 21 |
# File 'lib/twitter/list.rb', line 19 def user @user ||= Twitter::User.new(@attrs['user']) unless @attrs['user'].nil? end |