Sha256: 519fe91767629de64bb081d5fd12e8617abf31f88038dcb8806a02edc06304e8

Contents?: true

Size: 516 Bytes

Versions: 19

Compression:

Stored size: 516 Bytes

Contents

#
# This runner will simply use the SchemaTenant
#

require_relative './base_runner'
require_relative '../tenants/schema_tenant'

module Penthouse
  module Runners
    class SchemaRunner < BaseRunner

      # @param tenant_identifier [String, Symbol] The identifier for the tenant
      # @return [Penthouse::Tenants::BaseTenant] An instance of a tenant
      def self.load_tenant(tenant_identifier)
        Tenants::SchemaTenant.new(tenant_identifier, tenant_schema: tenant_identifier)
      end

    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
penthouse-0.11.0 lib/penthouse/runners/schema_runner.rb
penthouse-0.10.1 lib/penthouse/runners/schema_runner.rb
penthouse-0.10.0 lib/penthouse/runners/schema_runner.rb
penthouse-0.9.0 lib/penthouse/runners/schema_runner.rb
penthouse-0.8.0 lib/penthouse/runners/schema_runner.rb
penthouse-0.7.5 lib/penthouse/runners/schema_runner.rb
penthouse-0.7.4 lib/penthouse/runners/schema_runner.rb
penthouse-0.7.3 lib/penthouse/runners/schema_runner.rb
penthouse-0.7.2 lib/penthouse/runners/schema_runner.rb
penthouse-0.7.1 lib/penthouse/runners/schema_runner.rb
penthouse-0.7.0 lib/penthouse/runners/schema_runner.rb
penthouse-0.6.0 lib/penthouse/runners/schema_runner.rb
penthouse-0.5.0 lib/penthouse/runners/schema_runner.rb
penthouse-0.4.2 lib/penthouse/runners/schema_runner.rb
penthouse-0.4.1 lib/penthouse/runners/schema_runner.rb
penthouse-0.4.0 lib/penthouse/runners/schema_runner.rb
penthouse-0.3.0 lib/penthouse/runners/schema_runner.rb
penthouse-0.2.0 lib/penthouse/runners/schema_runner.rb
penthouse-0.1.0 lib/penthouse/runners/schema_runner.rb