Class: Penthouse::Runners::SchemaRunner

Inherits:
BaseRunner
  • Object
show all
Defined in:
lib/penthouse/runners/schema_runner.rb

Class Method Summary collapse

Methods inherited from BaseRunner

call

Class Method Details

.load_tenant(tenant_identifier) ⇒ Penthouse::Tenants::BaseTenant

Returns An instance of a tenant.

Parameters:

  • tenant_identifier (String, Symbol)

    The identifier for the tenant

Returns:



14
15
16
# File 'lib/penthouse/runners/schema_runner.rb', line 14

def self.load_tenant(tenant_identifier)
  Tenants::SchemaTenant.new(tenant_identifier, tenant_schema: tenant_identifier)
end