Class: Twitter::BasicUser

Inherits:
Identity show all
Defined in:
lib/twitter/basic_user.rb

Direct Known Subclasses

SourceUser, TargetUser, User

Instance Attribute Summary collapse

Attributes inherited from Identity

#id

Attributes inherited from Base

#attrs

Method Summary

Methods inherited from Identity

#initialize

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

#followingObject (readonly)

Returns the value of attribute following.



5
6
7
# File 'lib/twitter/basic_user.rb', line 5

def following
  @following
end

#screen_nameObject (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