Sha256: a8b3c6feff339b4eb53c67a88d98f5627a6eb3ed61683de5fbb4833bfac4b1ad

Contents?: true

Size: 414 Bytes

Versions: 7

Compression:

Stored size: 414 Bytes

Contents

module RateCenter
  class << self
    def load(...)
      data_loader.load(...)
    end

    def unload
      @data_loader = nil
    end

    def data_loader
      @data_loader ||= DataLoader.new
    end
  end
end

require_relative "rate_center/errors"
require_relative "rate_center/data_loader"
require_relative "rate_center/city"
require_relative "rate_center/rate_center"
require_relative "rate_center/version"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rate_center-0.2.0 lib/rate_center.rb
rate_center-0.1.7 lib/rate_center.rb
rate_center-0.1.6 lib/rate_center.rb
rate_center-0.1.5 lib/rate_center.rb
rate_center-0.1.4 lib/rate_center.rb
rate_center-0.1.3 lib/rate_center.rb
rate_center-0.1.2 lib/rate_center.rb