class Epok::Geocoder

Attributes

categories[R]
x[R]
y[R]

Public Class Methods

new(location, categories) click to toggle source
# File lib/epok/geocoder.rb, line 9
def initialize(location, categories)
  @x = location.x
  @y = location.y
  @categories = categories
end

Private Instance Methods

results() click to toggle source
# File lib/epok/geocoder.rb, line 17
def results
  collection API.geocoder(x, y, categories)
end