Sha256: 401cb49306da5034d0817bfcd2cc832e863f0328902e84811711f3d6bc3b55bc
Contents?: true
Size: 318 Bytes
Versions: 1
Compression:
Stored size: 318 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(Curate::Engine.root, 'config/change_manager_config.yml')) config['manager_class'].constantize.process_change(change_id) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
change_manager-0.2.0 | app/jobs/change_manager/begin_change.rb |