Sha256: ff9a3e16b47f35c31c2704961881462fc12c4acbc824a2de5a91b79591127185
Contents?: true
Size: 658 Bytes
Versions: 4
Compression:
Stored size: 658 Bytes
Contents
# This class is a stand in for an ActiveRecord or Mongoid::Document style class TestJob = Struct.new :id, :queue, :status, :enqueued_at, :expire_execution_at, :scheduled_at, :completed_at, :result, :target, :method, :parameters, :retry_count, :retry_delay, :timeout do include JobDispatch::Job def save! true end def save true end def reload self end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
job_dispatch-0.2.0 | spec/support/test_job.rb |
job_dispatch-0.1.0 | spec/support/test_job.rb |
job_dispatch-0.0.2 | spec/support/test_job.rb |
job_dispatch-0.0.1 | spec/support/test_job.rb |