Class: Utopia::Tags::Deferred

Inherits:
Object
  • Object
show all
Defined in:
lib/utopia/tags/deferred.rb

Class Method Summary collapse

Class Method Details

.call(transaction, state) ⇒ Object



24
25
26
27
28
29
30
# File 'lib/utopia/tags/deferred.rb', line 24

def self.call(transaction, state)
	id = state[:id].to_i
	
	procedure = transaction.parent.deferred[id]
	
	procedure.call(transaction, state)
end