Sha256: b4865a564a4c80f8d23ffe6253a26209b1b3ea94fa6bfe1f1efe17145611f661
Contents?: true
Size: 309 Bytes
Versions: 3
Compression:
Stored size: 309 Bytes
Contents
require 'yaml' module ChangeManager class BeginChange def self.queue :change end def self.perform(change_id) puts 'job started' config ||= YAML.load_file(File.join(Rails.root, 'config/change_manager_config.yml')) config['manager_class'].constantize.process_change(change_id) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
change_manager-0.3.2 | app/jobs/change_manager/begin_change.rb |
change_manager-0.3.1 | app/jobs/change_manager/begin_change.rb |
change_manager-0.3.0 | app/jobs/change_manager/begin_change.rb |