aggiunta integrazione github sperimentale

This commit is contained in:
Enrico Fasoli 2015-04-25 14:24:13 +02:00
parent 182c7b9887
commit dd92b952a6

8
scripts/github.coffee Normal file
View File

@ -0,0 +1,8 @@
# Description:
# interazioni tra asjon e github
module.exports = (robot) ->
robot.router.post '/hubot/githubhook/:room', (req, res) ->
res.end 200
console.log req.body
robot.send req.params.room, JSON.stringify req.body