Module: Lita
- Defined in:
- lib/lita/handlers/reminder.rb,
lib/lita/handlers/reminder.rb
Overview
ugly hack TODO fix this better
Defined Under Namespace
Modules: Handlers
Class Method Summary collapse
Class Method Details
.run(config_path = nil) ⇒ Object
102 103 104 105 106 107 108 109 |
# File 'lib/lita/handlers/reminder.rb', line 102 def run(config_path = nil) Config.load_user_config(config_path) robot = Robot.new redis_base = Redis.new(config.redis) redis_ns = Redis::Namespace.new(REDIS_NAMESPACE + ":handlers:reminder", redis: redis_base) Lita::Handlers::Reminder.runner.start(robot, redis_ns) robot.run end |