Sha256: 3ccd99eb25c677ef2d10ffadec083dc60955043a30c0d5e21542df8f4d439bce

Contents?: true

Size: 384 Bytes

Versions: 9

Compression:

Stored size: 384 Bytes

Contents

# frozen_string_literal: true

module RailsWorkflow
  class ProcessTemplateDecorator < Decorator
    delegate_all

    def form
      'form'
    end

    def default_class
      RailsWorkflow.config.process_class
    end

    def default_manager
      RailsWorkflow.config.manager_class
    end

    def default_type
      RailsWorkflow.config.process_template_type
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails_workflow-0.7.3 app/decorators/rails_workflow/process_template_decorator.rb
rails_workflow-0.7.2 app/decorators/rails_workflow/process_template_decorator.rb
rails_workflow-0.7.1 app/decorators/rails_workflow/process_template_decorator.rb
rails_workflow-0.7.0 app/decorators/rails_workflow/process_template_decorator.rb
rails_workflow-0.4.4 app/decorators/rails_workflow/process_template_decorator.rb
rails_workflow-0.4.3 app/decorators/rails_workflow/process_template_decorator.rb
rails_workflow-0.4.2 app/decorators/rails_workflow/process_template_decorator.rb
rails_workflow-0.4.1 app/decorators/rails_workflow/process_template_decorator.rb
rails_workflow-0.4.0 app/decorators/rails_workflow/process_template_decorator.rb