Class: Twitter::Entity::UserMention

Inherits:
Entity
  • Object
show all
Defined in:
lib/twitter/entity/user_mention.rb

Overview

Represents a Twitter user mention entity

Instance Attribute Summary collapse

Instance Attribute Details

#idInteger (readonly)

The ID of the mentioned user

Examples:

user_mention.id

Returns:

  • (Integer)


13
14
15
# File 'lib/twitter/entity/user_mention.rb', line 13

def id
  @id
end

#nameString (readonly)

The screen name of the mentioned user

Examples:

user_mention.screen_name

Returns:

  • (String)


28
29
30
# File 'lib/twitter/entity/user_mention.rb', line 28

def name
  @name
end

#screen_nameString (readonly)

The screen name of the mentioned user

Examples:

user_mention.screen_name

Returns:

  • (String)


28
29
30
# File 'lib/twitter/entity/user_mention.rb', line 28

def screen_name
  @screen_name
end