lib/penthouse/tenants/base_tenant.rb in penthouse-0.3.0 vs lib/penthouse/tenants/base_tenant.rb in penthouse-0.4.0
- old
+ new
@@ -19,19 +19,22 @@
end
# @abstract placeholder for the relevant tenant-switching code
# @param block [Block] The code to execute within the tenant
# @yield [BaseTenant] The current tenant instance
+ # @return [void]
def call(&block)
raise NotImplementedError
end
# @abstract creates the tenant data store
+ # @return [void]
def create(*)
raise NotImplementedError
end
# @abstract deletes the tenant data store
+ # @return [void]
def delete(*)
raise NotImplementedError
end
end
end