Class: Twitter::Geo

Inherits:
Base
  • Object
show all
Defined in:
lib/twitter/geo.rb,
lib/twitter/geo/point.rb,
lib/twitter/geo/polygon.rb

Direct Known Subclasses

Point, Polygon

Defined Under Namespace

Classes: Point, Polygon

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) coordinates (readonly) Also known as: coords

Returns the value of attribute coordinates



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

def coordinates
  @coordinates
end