Module: Twofishes

Defined in:
lib/twofishes/client.rb,
lib/twofishes/errors.rb,
lib/twofishes/result.rb,
lib/twofishes/version.rb,
lib/twofishes/configuration.rb,
lib/twofishes/geocode_request.rb

Defined Under Namespace

Classes: Client, Configuration, GeocodeRequest, InvalidResponseError, Result

Constant Summary collapse

VERSION =
'2.1.0'

Class Method Summary collapse

Class Method Details

.configurationObject



20
21
22
# File 'lib/twofishes/configuration.rb', line 20

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



24
25
26
# File 'lib/twofishes/configuration.rb', line 24

def self.configure
  yield configuration
end

.reset_configurationObject



28
29
30
# File 'lib/twofishes/configuration.rb', line 28

def self.reset_configuration
  @configuration = nil
end