Module: Geolocal
- Defined in:
- lib/geolocal/provider/base.rb,
lib/geolocal/version.rb,
lib/geolocal/configuration.rb,
lib/geolocal/provider/base.rb
Overview
Defined Under Namespace
Modules: Provider
Classes: Configuration
Constant Summary
collapse
- VERSION =
"1.0"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
49
50
51
|
# File 'lib/geolocal/configuration.rb', line 49
def self.configuration
@configuration ||= Configuration.new
end
|
53
54
55
|
# File 'lib/geolocal/configuration.rb', line 53
def self.configure
yield(configuration)
end
|
.reset_configuration ⇒ Object
57
58
59
|
# File 'lib/geolocal/configuration.rb', line 57
def self.reset_configuration
@configuration = nil
end
|