 module.exports = (robot) ->
   redmine = new Redmine robot, process.env.HUBOT_REDMINE_SEND_ROOM, process.env.HUBOT_REDMINE_BASE_URL, process.env.HUBOT_REDMINE_TOKEN
 
+  # {{{ for cron
   checkUpdate = () ->
     getActivity()
 

           for issueId, issue of m.issues
             reply += "  ##{issueId}: #{issue.hours}h #{issue.comments}\n"
      msg.send reply


#    userName = msg.match[1].toLowerCase()
#    user = whoIsThis robot, userName

# }}}

class Redmine # {{{
  constructor: (@robot, @room, @url, @token) -> # {{{
    endpoint = URL.parse(@url)
    @protocol = endpoint.protocol
    @hostname = endpoint.hostname
    @pathname = endpoint.pathname.replace /^\/$/, ''
    @url = "#{@protocol}//#{@hostname}#{@pathname}"
  # }}}

  Users: (params, callback, opt) -> # {{{
    @get "/users.json", params, opt, callback
# }}}

  Issues: (params, callback, opt) -> # {{{
    @get "/issues.json", params, opt, callback

  Issue: (id) ->
