lib/penthouse/tenants/base_tenant.rb in penthouse-0.11.0 vs lib/penthouse/tenants/base_tenant.rb in penthouse-0.12.0

- old
+ new

@@ -12,10 +12,10 @@ class BaseTenant attr_accessor :identifier private :identifier= # @param identifier [String, Symbol] An identifier for the tenant - def initialize(identifier) + def initialize(identifier:, **args) self.identifier = identifier end # @abstract placeholder for the relevant tenant-switching code # @param block [Block] The code to execute within the tenant