 #   HUBOT_PAGERDUTY_SUBDOMAIN
 #   HUBOT_PAGERDUTY_SERVICE_API_KEY - Service API Key from a 'General API Service'
 #   HUBOT_PAGERDUTY_SCHEDULE_ID
+#   HUBOT_PAGERDUTY_ROOM - Room in which you want the pagerduty webhook notifications to appear
+#   HUBOT_PAGERDUTY_ENDPOINT - Pagerduty Webhook listener e.g /hook
 
 inspect = require('util').inspect
 

          else
            console.log res.statusCode
            console.log body

pagerDutyBaseUrl       = "https://#{pagerDutySubdomain}.pagerduty.com/api/v1"
pagerDutyServiceApiKey = process.env.HUBOT_PAGERDUTY_SERVICE_API_KEY
pagerDutyScheduleId    = process.env.HUBOT_PAGERDUTY_SCHEDULE_ID
pagerRoom              = process.env.HUBOT_PAGERDUTY_ROOM
# Webhook listener endpoint. Set it to whatever URL you want, and make sure it matches your pagerduty service settings 
pagerEndpoint          = "/hook"

module.exports = (robot) ->
  robot.respond /pager( me)?$/i, (msg) ->
