Sha256: 9aeee115802079661a08fef9b7bf8f0ae1d3dde01f536ecf27ac281177452adf

Contents?: true

Size: 236 Bytes

Versions: 46

Compression:

Stored size: 236 Bytes

Contents

module GovukContentModels
  module ActionProcessors
    class AssignProcessor < BaseProcessor

      def process
        edition.set(:assigned_to_id, action_attributes[:recipient_id])
        edition.reload
      end

    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
govuk_content_models-34.0.0 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-33.0.0 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-32.3.1 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-32.3.0 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-32.2.0 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-32.1.0 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-32.0.0 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-31.4.0 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-31.3.0 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-31.2.2 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-31.2.1 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-31.2.0 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-31.1.0 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-31.0.0 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-30.0.0 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-29.1.2 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-29.1.1 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-29.1.0 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-29.0.1 lib/govuk_content_models/action_processors/assign_processor.rb
govuk_content_models-29.0.0 lib/govuk_content_models/action_processors/assign_processor.rb