Sha256: 74d214fd9bd11db4914593c593ecc1261543638c165590b1f16109c2f0c0a69e

Contents?: true

Size: 268 Bytes

Versions: 10

Compression:

Stored size: 268 Bytes

Contents

module Hyrax
  module Workflow
    class WorkflowByModelNameStrategy
      def initialize(work, _attributes)
        @work = work
      end

      # @return [String] The name of the workflow to use
      def workflow_name
        'default'
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
hyrax-1.1.1 app/services/hyrax/workflow/workflow_by_model_name_strategy.rb
hyrax-1.1.0 app/services/hyrax/workflow/workflow_by_model_name_strategy.rb
hyrax-1.0.5 app/services/hyrax/workflow/workflow_by_model_name_strategy.rb
hyrax-1.0.4 app/services/hyrax/workflow/workflow_by_model_name_strategy.rb
hyrax-1.0.3 app/services/hyrax/workflow/workflow_by_model_name_strategy.rb
hyrax-1.0.2 app/services/hyrax/workflow/workflow_by_model_name_strategy.rb
hyrax-1.0.1 app/services/hyrax/workflow/workflow_by_model_name_strategy.rb
hyrax-1.0.0.rc2 app/services/hyrax/workflow/workflow_by_model_name_strategy.rb
hyrax-1.0.0.rc1 app/services/hyrax/workflow/workflow_by_model_name_strategy.rb
test_hyrax-0.0.1.alpha app/services/hyrax/workflow/workflow_by_model_name_strategy.rb