lib/penthouse/routers/base_router.rb in penthouse-0.2.0 vs lib/penthouse/routers/base_router.rb in penthouse-0.3.0
- old
+ new
@@ -9,10 +9,10 @@
module Penthouse
module Routers
class BaseRouter
- # Typically used by the App to return a tenant that can be switched to
+ # @abstract typically used by the App to receive a request and return a tenant that can be switched to
# @param request [Rack::Request] The request from the Rack app, used to determine the tenant
# @return [String, Symbol] A tenant identifier
# @raise [Penthouse::TenantNotFound] if the tenant cannot be found/switched to
def self.call(request)
raise NotImplementedError