Sha256: bad322d2cbe0d96644b13a0409a94b88418f19173b0b655ddb7909ec17b7c2cd

Contents?: true

Size: 287 Bytes

Versions: 1

Compression:

Stored size: 287 Bytes

Contents

class CreateJobTrackerForNotification
  
  def self.up
    JobTracker.create(
        :job_name => 'Notification Job',
        :job_klass => 'ErpTechSvcs::DelayedJobs::NotificationJob'
    )
  end
  
  def self.down
    JobTracker.find_by_job_name('Notification Job').destroy
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
erp_tech_svcs-4.2.0 db/data_migrations/20150819140550_create_job_tracker_for_notification.rb