blob: 89566de6f66123f4829650737787c0800d1dbf45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#
# This file should not be required directly. Use the wrapper in /bin
# instead or run this using daemons:
#
# Daemons.run('tapicero_daemon.rb')
#
require 'tapicero'
module Tapicero
module Daemon
require 'tapicero/user_event_handler'
users = CouchRest::Changes.new('users')
UserEventHandler.new(users)
users.listen
end
end
|