Module: GeolocationIp

Defined in:
lib/geolocation_ip.rb,
lib/geolocation_ip/version.rb

Constant Summary collapse

VERSION =
"0.1.2"

Class Method Summary collapse

Class Method Details

.find(remote, callback = nil) ⇒ Object



10
11
12
# File 'lib/geolocation_ip.rb', line 10

def self.find(remote, callback = nil)
  request(remote, callback)
end

.now(callback = nil) ⇒ Object



6
7
8
# File 'lib/geolocation_ip.rb', line 6

def self.now(callback = nil)
request(nil, callback)
end