Class: Twitter::List
- Includes:
- Creatable
- Defined in:
- lib/twitter/list.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#following ⇒ Object
(also: #following?)
readonly
Returns the value of attribute following.
-
#full_name ⇒ Object
readonly
Returns the value of attribute full_name.
-
#member_count ⇒ Object
readonly
Returns the value of attribute member_count.
-
#mode ⇒ Object
readonly
Returns the value of attribute mode.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#slug ⇒ Object
readonly
Returns the value of attribute slug.
-
#subscriber_count ⇒ Object
readonly
Returns the value of attribute subscriber_count.
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Attributes inherited from Base
Instance Method Summary collapse
Methods included from Creatable
Methods inherited from Identity
#==, fetch, #id, #initialize, store
Methods inherited from Base
#[], attr_reader, fetch, fetch_or_new, from_response, identity_map, #initialize, store, #update
Constructor Details
This class inherits a constructor from Twitter::Identity
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
8 9 10 |
# File 'lib/twitter/list.rb', line 8 def description @description end |
#following ⇒ Object (readonly) Also known as: following?
Returns the value of attribute following.
8 9 10 |
# File 'lib/twitter/list.rb', line 8 def following @following end |
#full_name ⇒ Object (readonly)
Returns the value of attribute full_name.
8 9 10 |
# File 'lib/twitter/list.rb', line 8 def full_name @full_name end |
#member_count ⇒ Object (readonly)
Returns the value of attribute member_count.
8 9 10 |
# File 'lib/twitter/list.rb', line 8 def member_count @member_count end |
#mode ⇒ Object (readonly)
Returns the value of attribute mode.
8 9 10 |
# File 'lib/twitter/list.rb', line 8 def mode @mode end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/twitter/list.rb', line 8 def name @name end |
#slug ⇒ Object (readonly)
Returns the value of attribute slug.
8 9 10 |
# File 'lib/twitter/list.rb', line 8 def slug @slug end |
#subscriber_count ⇒ Object (readonly)
Returns the value of attribute subscriber_count.
8 9 10 |
# File 'lib/twitter/list.rb', line 8 def subscriber_count @subscriber_count end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
8 9 10 |
# File 'lib/twitter/list.rb', line 8 def uri @uri end |
Instance Method Details
#user ⇒ Twitter::User
13 14 15 |
# File 'lib/twitter/list.rb', line 13 def user @user ||= Twitter::User.fetch_or_new(@attrs[:user]) end |