Class: Twitter::Entity::UserMention

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

Instance Attribute Summary collapse

Attributes inherited from Twitter::Entity

#indices

Attributes inherited from Base

#attrs

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

flat_pmap, pmap

Constructor Details

This class inherits a constructor from Twitter::Base

Instance Attribute Details

#idInteger (readonly)

Returns:

  • (Integer)


7
8
9
# File 'lib/twitter/entity/user_mention.rb', line 7

def id
  @id
end

#nameString (readonly)

Returns:

  • (String)


9
10
11
# File 'lib/twitter/entity/user_mention.rb', line 9

def name
  @name
end

#screen_nameString (readonly)

Returns:

  • (String)


9
10
11
# File 'lib/twitter/entity/user_mention.rb', line 9

def screen_name
  @screen_name
end