Sha256: 9cf09ab619689b46347eb920e759d606605dd37d0bb6052c61336e549052973c

Contents?: true

Size: 583 Bytes

Versions: 1

Compression:

Stored size: 583 Bytes

Contents

require 'multi_json'
require 'naught'
require 'yaml'

require 'basquiat/support'
require 'basquiat/errors'
require 'basquiat/adapters'
require 'basquiat/version'
require 'basquiat/interfaces/base'

# Overall namespace And config class
module Basquiat
  class << self
    def reset
      @configuration = Configuration.new
    end

    def configuration
      @configuration ||= Configuration.new
    end

    def configure
      yield configuration
    end

    def logger
      configuration.logger
    end
  end
end

require_relative 'basquiat/rails/railtie.rb' if defined?(Rails)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
basquiat-1.2.0 lib/basquiat.rb