Sha256: 6b3a4b40805c3bebb93d3160f11dcdbc6597fe36d640fb7db0af7e5f35781d92
Contents?: true
Size: 600 Bytes
Versions: 1
Compression:
Stored size: 600 Bytes
Contents
require 'multiplicity/version' require 'multiplicity/tenant' 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 # Load Subdomain by default until there are multiple strategies require 'multiplicity/middleware/subdomain' # Always load AR adapter for now, until there is more than one require 'multiplicity/adapters/active_record'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
multiplicity-0.2.0 | lib/multiplicity.rb |