Class: Twitter::Entity

Inherits:
Base
  • Object
show all
Defined in:
lib/twitter/entity.rb,
lib/twitter/entity/uri.rb,
lib/twitter/entity/symbol.rb,
lib/twitter/entity/hashtag.rb,
lib/twitter/entity/user_mention.rb

Direct Known Subclasses

Hashtag, Symbol, URI, UserMention

Defined Under Namespace

Classes: Hashtag, Symbol, URI, UserMention

Constant Summary

URL =
URI
Uri =
URI
Url =

rubocop:disable ConstantName rubocop:disable ConstantName

URI

Instance Attribute Summary (collapse)

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) indices (readonly)

Returns the value of attribute indices



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

def indices
  @indices
end