Class: BarnyardHarvester::Queue::Enqueue
- Inherits:
-
Object
- Object
- BarnyardHarvester::Queue::Enqueue
- Defined in:
- lib/barnyard_harvester/resque_queue.rb
Instance Method Summary collapse
-
#initialize(queue, queued_at, harvester_uuid, change_uuid, crop_number, primary_key, transaction_type, value, old_value) ⇒ Enqueue
constructor
A new instance of Enqueue.
Constructor Details
#initialize(queue, queued_at, harvester_uuid, change_uuid, crop_number, primary_key, transaction_type, value, old_value) ⇒ Enqueue
Returns a new instance of Enqueue.
21 22 23 24 |
# File 'lib/barnyard_harvester/resque_queue.rb', line 21 def initialize(queue, queued_at, harvester_uuid, change_uuid, crop_number, primary_key, transaction_type, value, old_value) Resque.enqueue(queue, queued_at, harvester_uuid, change_uuid, crop_number, primary_key, transaction_type, value, old_value) Resque.enqueue(ChangeLogs, queued_at, harvester_uuid, change_uuid, crop_number, primary_key, transaction_type, value, old_value) end |