Class: Penthouse::Routers::BaseRouter
- Inherits:
-
Object
- Object
- Penthouse::Routers::BaseRouter
- Defined in:
- lib/penthouse/routers/base_router.rb
Direct Known Subclasses
Class Method Summary collapse
-
.call(request) ⇒ String, Symbol
abstract
A tenant identifier.
Class Method Details
.call(request) ⇒ String, Symbol
This method is abstract.
typically used by the App to receive a request and return a tenant that can be switched to
Returns A tenant identifier.
18 19 20 |
# File 'lib/penthouse/routers/base_router.rb', line 18 def self.call(request) raise NotImplementedError end |