Module: Geocoder::Model::Base
- Included in:
- ActiveRecord, MongoMapper, Mongoid
- Defined in:
- lib/geocoder/models/base.rb
Instance Method Summary collapse
Instance Method Details
#geocoded_by ⇒ Object
19 20 21 |
# File 'lib/geocoder/models/base.rb', line 19 def geocoded_by fail end |
#geocoder_options ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/geocoder/models/base.rb', line 9 def if defined?(@geocoder_options) @geocoder_options elsif superclass.respond_to?(:geocoder_options) superclass. || { } else { } end end |
#reverse_geocoded_by ⇒ Object
23 24 25 |
# File 'lib/geocoder/models/base.rb', line 23 def reverse_geocoded_by fail end |