Module: RateCenter

Defined in:
lib/rate_center.rb,
lib/rate_center/city.rb,
lib/rate_center/lata.rb,
lib/rate_center/errors.rb,
lib/rate_center/version.rb,
lib/rate_center/distance.rb,
lib/rate_center/data_prep.rb,
lib/rate_center/collection.rb,
lib/rate_center/data_loader.rb,
lib/rate_center/rate_center.rb,
lib/rate_center/data_source/simple_maps.rb,
lib/rate_center/data_source/local_calling_guide.rb

Defined Under Namespace

Modules: Collection, DataSource, Errors Classes: City, DataLoader, DataPrep, Distance, Lata, RateCenter

Constant Summary collapse

VERSION =
"0.3.1"

Class Method Summary collapse

Class Method Details

.data_loaderObject



11
12
13
# File 'lib/rate_center.rb', line 11

def data_loader
  @data_loader ||= DataLoader.new
end

.loadObject



3
4
5
# File 'lib/rate_center.rb', line 3

def load(...)
  data_loader.load(...)
end

.unloadObject



7
8
9
# File 'lib/rate_center.rb', line 7

def unload
  @data_loader = nil
end