Class: Twitter::Entity::UserMention
- Inherits:
-
Twitter::Entity
- Object
- Base
- Twitter::Entity
- Twitter::Entity::UserMention
- Defined in:
- lib/twitter/entity/user_mention.rb
Overview
Represents a Twitter user mention entity
Instance Attribute Summary collapse
-
#id ⇒ Integer
readonly
The ID of the mentioned user.
-
#name ⇒ String
readonly
The screen name of the mentioned user.
-
#screen_name ⇒ String
readonly
The screen name of the mentioned user.
Attributes inherited from Twitter::Entity
Attributes inherited from Base
Method Summary
Methods inherited from Base
#[], attr_reader, define_attribute_method, define_predicate_method, define_uri_method, display_uri_attr_reader, #initialize, object_attr_reader, predicate_attr_reader, uri_attr_reader
Methods included from Utils
Constructor Details
This class inherits a constructor from Twitter::Base
Instance Attribute Details
#id ⇒ Integer (readonly)
The ID of the mentioned user
13 14 15 |
# File 'lib/twitter/entity/user_mention.rb', line 13 def id @id end |
#name ⇒ String (readonly)
The screen name of the mentioned user
28 29 30 |
# File 'lib/twitter/entity/user_mention.rb', line 28 def name @name end |
#screen_name ⇒ String (readonly)
The screen name of the mentioned user
28 29 30 |
# File 'lib/twitter/entity/user_mention.rb', line 28 def screen_name @screen_name end |