Parent

Methods

Class/Module Index [+]

Quicksearch

Twitter::GeoResults

Attributes

attrs[R]
to_h[R]

Public Class Methods

new(attrs = {}) click to toggle source

Initializes a new GeoResults object

@param attrs [Hash] @return [Twitter::GeoResults]

# File lib/twitter/geo_results.rb, line 17
def initialize(attrs = {})
  @attrs = attrs
  @collection = @attrs[:result].fetch(:places, []).collect do |place|
    Place.new(place)
  end
end

Public Instance Methods

token() click to toggle source

@return [String]

# File lib/twitter/geo_results.rb, line 25
def token
  @attrs[:token]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.