public
Description: RESTful workflow / bpm engine based on Rack and OpenWFEru
Homepage: http://openwferu.rubyforge.org
Clone URL: git://github.com/jmettraux/ruote-rest.git
ruote-rest / conf / participants.rb
100644 22 lines (15 sloc) 0.363 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# participants initialization goes here
 
configure do
 
  #
  # other participants
 
  #$engine.register_participant :kilroy do
  application.engine.register_participant :kilroy do
    puts 'Kilroy was here'
  end
 
  #
  # loading active participants
 
  Participants.init_all(
    application.engine,
    "conf/participants_#{application.environment}.yaml")
end