Sha256: fbdc7054fd868dbc0840f6c24afdb92346815a61defd01ca7e46172d2376cdb4

Contents?: true

Size: 514 Bytes

Versions: 5

Compression:

Stored size: 514 Bytes

Contents

# frozen_string_literal: true

require 'active_support/concern'
require 'active_support/configurable'
require 'active_support/core_ext/hash'

require "immoscout/version"
require 'immoscout/configuration'
require 'immoscout/models'

module Immoscout
  class << self
    attr_writer :configuration
  end

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

  def self.configure
    yield(configuration)
  end

  def self.reset_configuration!
    self.configuration = Configuration.new
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
immoscout-1.3.1 lib/immoscout.rb
immoscout-1.3.0 lib/immoscout.rb
immoscout-1.2.0 lib/immoscout.rb
immoscout-1.1.0 lib/immoscout.rb
immoscout-1.0.0 lib/immoscout.rb