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
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.
Instance Method Summary collapse
Methods included from Creatable
Methods inherited from Identity
#==, fetch, #id, #initialize, store
Methods inherited from Base
#[], #attr_equal, attr_reader, #attrs, #attrs_equal, 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.
7 8 9 |
# File 'lib/twitter/list.rb', line 7 def description @description end |
#following ⇒ Object (readonly)
Returns the value of attribute following.
7 8 9 |
# File 'lib/twitter/list.rb', line 7 def following @following end |
#full_name ⇒ Object (readonly)
Returns the value of attribute full_name.
7 8 9 |
# File 'lib/twitter/list.rb', line 7 def full_name @full_name end |
#member_count ⇒ Object (readonly)
Returns the value of attribute member_count.
7 8 9 |
# File 'lib/twitter/list.rb', line 7 def member_count @member_count end |
#mode ⇒ Object (readonly)
Returns the value of attribute mode.
7 8 9 |
# File 'lib/twitter/list.rb', line 7 def mode @mode end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/twitter/list.rb', line 7 def name @name end |
#slug ⇒ Object (readonly)
Returns the value of attribute slug.
7 8 9 |
# File 'lib/twitter/list.rb', line 7 def slug @slug end |
#subscriber_count ⇒ Object (readonly)
Returns the value of attribute subscriber_count.
7 8 9 |
# File 'lib/twitter/list.rb', line 7 def subscriber_count @subscriber_count end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
7 8 9 |
# File 'lib/twitter/list.rb', line 7 def uri @uri end |
Instance Method Details
#user ⇒ Twitter::User
11 12 13 |
# File 'lib/twitter/list.rb', line 11 def user @user ||= Twitter::User.fetch_or_new(@attrs[:user]) end |