Module: GeoMagic::Remote

Extended by:
ClassMethods
Defined in:
lib/geo_magic/remote.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ClassMethods, HostIP

Class Method Summary collapse

Methods included from ClassMethods

location_of, my_ip, my_location

Class Method Details

.included(base) ⇒ Object

Get the remote location of the request IP using hostip.info



9
10
11
# File 'lib/geo_magic/remote.rb', line 9

def self.included(base)
  base.extend(ClassMethods)
end