class Ruboty::Routers::Root
Public Instance Methods
root(req, res)
click to toggle source
# File lib/ruboty/routers/root.rb, line 6 def root(req, res) # server response res.write 'Ruboty::Router works!' # example for reaction in chat # robot.say(body: 'something to say', to: '#general') end