Class: RailsWorkflow::ProcessTemplateDecorator

Inherits:
Decorator
  • Object
show all
Defined in:
app/decorators/rails_workflow/process_template_decorator.rb

Instance Method Summary collapse

Methods inherited from Decorator

collection_decorator_class

Instance Method Details

#default_classObject



9
10
11
# File 'app/decorators/rails_workflow/process_template_decorator.rb', line 9

def default_class
  RailsWorkflow.config.process_class
end

#default_managerObject



13
14
15
# File 'app/decorators/rails_workflow/process_template_decorator.rb', line 13

def default_manager
  RailsWorkflow.config.manager_class
end

#default_typeObject



17
18
19
# File 'app/decorators/rails_workflow/process_template_decorator.rb', line 17

def default_type
  RailsWorkflow.config.process_template_type
end

#formObject



5
6
7
# File 'app/decorators/rails_workflow/process_template_decorator.rb', line 5

def form
  'form'
end