lib/penthouse/runners/base_runner.rb in penthouse-0.2.0 vs lib/penthouse/runners/base_runner.rb in penthouse-0.3.0
- old
+ new
@@ -20,9 +20,10 @@
block.yield(tenant)
end
end
end
+ # @abstract returns the tenant object
# @param tenant_identifier [String, Symbol] The identifier for the tenant
# @return [Penthouse::Tenants::BaseTenant] An instance of a tenant
# @raise [Penthouse::TenantNotFound] if the tenant cannot be switched to
def self.load_tenant(tenant_identifier)
raise NotImplementedError