Sha256: a0195aefe96353111b7207bcade0e3a1759fe8c3fefdc93e6c720af2276b89fa

Contents?: true

Size: 207 Bytes

Versions: 10

Compression:

Stored size: 207 Bytes

Contents

module RailsWorkflow
  class OperationWorker
    include Sidekiq::Worker

    def perform(operation_id)
      operation = Operation.find operation_id
      operation.execute_in_transaction
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rails_workflow-0.3.7 app/workers/rails_workflow/operation_worker.rb
rails_workflow-0.3.6 app/workers/rails_workflow/operation_worker.rb
rails_workflow-0.3.5 app/workers/rails_workflow/operation_worker.rb
rails_workflow-0.3.4 app/workers/rails_workflow/operation_worker.rb
rails_workflow-0.3.3 app/workers/rails_workflow/operation_worker.rb
rails_workflow-0.3.2 app/workers/rails_workflow/operation_worker.rb
rails_workflow-0.3.1 app/workers/rails_workflow/operation_worker.rb
rails_workflow-0.3.0 app/workers/rails_workflow/operation_worker.rb
rails_workflow-0.2.2 app/workers/rails_workflow/operation_worker.rb
rails_workflow-0.2.1 app/workers/rails_workflow/operation_worker.rb