### Central module for Dynamini.
module Dynamini
  require 'active_model'
  require 'dynamini/base'
  require 'dynamini/configuration'
  require 'dynamini/test_client'
  require 'dynamini/item_splitter'

  class << self
    attr_writer :configuration
  end

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

  def self.configure
    yield(configuration)
  end
end
