require 'multiplicity/version' require 'multiplicity/tenant' require 'multiplicity/middleware' module Multiplicity def self.adapter; @adapter; end def self.adapter=(adapter) @adapter = adapter end def self.table_name @table ||= :tenants end def self.table_name=(value) @table = value.to_sym end def self.domain; @domain; end def self.domain=(uri) @domain = uri.to_s end end # Always load AR adapter for now, until there is more than one require 'multiplicity/adapters/active_record'