Sha256: 742b53da1178a03b1be736aeb22e1a1729cfb528bca7a5e0e63d9ba14127b69e

Contents?: true

Size: 511 Bytes

Versions: 11

Compression:

Stored size: 511 Bytes

Contents

# frozen_string_literal: true

require 'active_support/all'
require 'active_record'

require 'rails_multitenant/global_context_registry'
require 'rails_multitenant/multitenant_model'

require 'rails_multitenant/middleware/extensions'

module RailsMultitenant
  extend self

  delegate :get, :[], :fetch, :set, :[]=, :delete, :with_isolated_registry, :merge!, :with_merged_registry,
           to: :GlobalContextRegistry
end

# rails_multitenant/rspec has to be explicitly included by clients who want to use it

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rails_multitenant-0.21.0 lib/rails_multitenant.rb
rails_multitenant-0.20.0 lib/rails_multitenant.rb
rails_multitenant-0.19.0 lib/rails_multitenant.rb
rails_multitenant-0.18.1 lib/rails_multitenant.rb
rails_multitenant-0.18.0 lib/rails_multitenant.rb
rails_multitenant-0.17.0 lib/rails_multitenant.rb
rails_multitenant-0.16.0 lib/rails_multitenant.rb
rails_multitenant-0.15.0 lib/rails_multitenant.rb
rails_multitenant-0.14.0 lib/rails_multitenant.rb
rails_multitenant-0.13.0 lib/rails_multitenant.rb
rails_multitenant-0.13.0.rc1 lib/rails_multitenant.rb