Sha256: ad17b5a481e568c967e05631d6303e4674a00e43a93b2c2b034e8acdfcca89e0

Contents?: true

Size: 187 Bytes

Versions: 49

Compression:

Stored size: 187 Bytes

Contents

module Workhorse::Jobs
  class RunRailsOp
    def initialize(cls, params = {})
      @cls = cls
      @params = params
    end

    def perform
      @cls.run!(@params)
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
workhorse-0.3.4 lib/workhorse/jobs/run_rails_op.rb
workhorse-0.3.3 lib/workhorse/jobs/run_rails_op.rb
workhorse-0.3.2 lib/workhorse/jobs/run_rails_op.rb
workhorse-0.3.1 lib/workhorse/jobs/run_rails_op.rb
workhorse-0.3.0 lib/workhorse/jobs/run_rails_op.rb
workhorse-0.2.0 lib/workhorse/jobs/run_rails_op.rb
workhorse-0.1.0 lib/workhorse/jobs/run_rails_op.rb
workhorse-0.0.3 lib/workhorse/jobs/run_rails_op.rb
workhorse-0.0.2 lib/workhorse/jobs/run_rails_op.rb