Module: JDX::Geocoder::Base

Included in:
Google, IpApi
Defined in:
lib/jdx/geocoder/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



10
11
12
# File 'lib/jdx/geocoder/base.rb', line 10

def data
  @data
end

Instance Method Details

#searchObject



12
13
14
# File 'lib/jdx/geocoder/base.rb', line 12

def search
  !fetch_data ? nil : self
end