Sha256: 6002b7a41881ebcc7e5b98681e906d7dc97a37d885fafb282b040b63bcd91e95

Contents?: true

Size: 430 Bytes

Versions: 3

Compression:

Stored size: 430 Bytes

Contents

# Credere
require "rails"

module Credere
  class Engine < Rails::Engine
    isolate_namespace Credere
  end


  # ------------------------------ tenancy ------------------------------
  # configuration to enable or disable tenancy
  mattr_accessor :enable_tenancy
  enable_tenancy = false

  mattr_accessor :tenant_class
  tenant_class = nil


  # provide hook to configure attributes
  def self.config
    yield(self)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
credere-0.10.3 lib/credere.rb
credere-0.10.2 lib/credere.rb
credere-0.10.1 lib/credere.rb