Class: Twitter::BasicUser
- Defined in:
- lib/twitter/basic_user.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#following ⇒ Object
readonly
Returns the value of attribute following.
-
#screen_name ⇒ Object
(also: #handle, #username, #user_name)
readonly
Returns the value of attribute screen_name.
Attributes inherited from Identity
Attributes inherited from Base
Method Summary
Methods inherited from Identity
Methods inherited from Base
#[], attr_reader, display_uri_attr_reader, from_response, #initialize, object_attr_reader, uri_attr_reader
Constructor Details
This class inherits a constructor from Twitter::Identity
Instance Attribute Details
#following ⇒ Object (readonly)
Returns the value of attribute following.
5 6 7 |
# File 'lib/twitter/basic_user.rb', line 5 def following @following end |
#screen_name ⇒ Object (readonly) Also known as: handle, username, user_name
Returns the value of attribute screen_name.
5 6 7 |
# File 'lib/twitter/basic_user.rb', line 5 def screen_name @screen_name end |