Method: Spider::Model.unit_of_work=

Defined in:
lib/spiderfw/model/model.rb

.unit_of_work=(uow) ⇒ UnitOfWork

Sets the UnitOfWork to use for the current request

Parameters:

Returns:



149
150
151
# File 'lib/spiderfw/model/model.rb', line 149

def self.unit_of_work=(uow)
    Spider.current[:unit_of_work] = uow
end