Method: Nayati::Workflow#result_obj

Defined in:
app/models/nayati/workflow.rb

#result_objObject



36
37
38
39
40
41
42
43
# File 'app/models/nayati/workflow.rb', line 36

def result_obj
  result_class = begin
                  Module.const_get(specific_result_obj_klass_constant_name)
                rescue NameError
                  ::Nayati::WorkflowResults::Base
                end
  result_class.new
end