Sha256: e6fb89761eda0086d6457bd1f2cea757e217f642fb25f0ae0936281d49b84bfe

Contents?: true

Size: 197 Bytes

Versions: 6

Compression:

Stored size: 197 Bytes

Contents

module ActsAsTenant
  class Configuration
    attr_writer :require_tenant, :pkey

    def require_tenant
      @require_tenant ||= false
    end

    def pkey
      @pkey ||= :id
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
acts_as_tenant-0.6.1 lib/acts_as_tenant/configuration.rb
acts_as_tenant-0.6.0 lib/acts_as_tenant/configuration.rb
acts_as_tenant-0.5.3 lib/acts_as_tenant/configuration.rb
acts_as_tenant-0.5.2 lib/acts_as_tenant/configuration.rb
acts_as_tenant-0.5.1 lib/acts_as_tenant/configuration.rb
acts_as_tenant-0.5.0 lib/acts_as_tenant/configuration.rb