Class: Cheftacular::QueueMaster
- Inherits:
-
Object
- Object
- Cheftacular::QueueMaster
- Defined in:
- lib/cheftacular/queue_master.rb
Instance Method Summary collapse
-
#initialize(options, config) ⇒ QueueMaster
constructor
A new instance of QueueMaster.
- #work_off_slack_queue ⇒ Object
Constructor Details
#initialize(options, config) ⇒ QueueMaster
Returns a new instance of QueueMaster.
4 5 6 |
# File 'lib/cheftacular/queue_master.rb', line 4 def initialize , config @options, @config = , config end |
Instance Method Details
#work_off_slack_queue ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/cheftacular/queue_master.rb', line 8 def work_off_slack_queue return true if @config['slack_queue'].empty? @config['slack_queue'].each do || @config['stateless_action'].slack() end end |