Class: Twitter::Entity::UserMention

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

Constant Summary

Constant Summary

Constants inherited from Twitter::Entity

URL, Uri, Url

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, deprecate_attribute_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

- (Object) id (readonly)

Returns the value of attribute id



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

def id
  @id
end

- (Object) name (readonly)

Returns the value of attribute name



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

def name
  @name
end

- (Object) screen_name (readonly)

Returns the value of attribute screen_name



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

def screen_name
  @screen_name
end