Module: Freegeoip

Defined in:
lib/freegeoip.rb,
lib/freegeoip/config.rb,
lib/freegeoip/engine.rb,
lib/freegeoip/version.rb,
app/models/freegeoip/lookup.rb,
app/controllers/freegeoip/lookups_controller.rb,
app/controllers/freegeoip/application_controller.rb

Defined Under Namespace

Modules: Config Classes: ApplicationController, ConfigError, Engine, Lookup, LookupsController

Constant Summary collapse

VERSION =
"0.1.2"

Class Method Summary collapse

Class Method Details

.configObject



14
15
16
# File 'lib/freegeoip.rb', line 14

def self.config
  Config
end

.configure(&block) ⇒ Object



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

def self.configure(&block)
  Config.configure(&block)
end