merged cont.
[opensuse:yast-rest-service.git] / webservice / vendor / plugins / delayed_job / generators / delayed_job_migration / delayed_job_migration_generator.rb
1 class DelayedJobMigrationGenerator < Rails::Generator::Base
2   def manifest
3     record do |m|
4       options = {
5         :migration_file_name => 'create_delayed_jobs'
6       }
7
8       m.migration_template 'migration.rb', 'db/migrate', options
9     end
10   end
11   
12   def banner
13     "Usage: #{$0} #{spec.name}"
14   end
15 end