Class: SimpleGeolocation::Geoworkers::Geokit

Inherits:
Base
  • Object
show all
Defined in:
lib/simple_geolocation/geoworkers/geokit/geokit.rb

Instance Attribute Summary

Attributes inherited from Base

#geocoder, #location, #success

Instance Method Summary collapse

Methods inherited from Base

#initialize, instantiate_geoworker_based_on

Constructor Details

This class inherits a constructor from SimpleGeolocation::Geoworkers::Base

Instance Method Details

#process!Object



6
7
8
9
# File 'lib/simple_geolocation/geoworkers/geokit/geokit.rb', line 6

def process!
  get_location!
  geocoder.success! if success?
end