You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
require 'singleton'
|
|
|
|
module CartoDB
|
|
# A facility that abstracts clients from config and also allow for easy injection
|
|
class GeocoderConfig
|
|
include Singleton
|
|
|
|
def set(config = {})
|
|
@config = config
|
|
end
|
|
|
|
def get()
|
|
@config ||= ::Cartodb.config[:geocoder]
|
|
end
|
|
end
|
|
end
|