Class: IrcMachine::Controller::GithubNotificationsController
- Inherits:
-
HttpController
- Object
- HttpController
- IrcMachine::Controller::GithubNotificationsController
- Defined in:
- lib/irc_machine/controller/github_notifications_controller.rb
Instance Attribute Summary
Attributes inherited from HttpController
#match, #request, #response, #session
Instance Method Summary collapse
Methods inherited from HttpController
#content_type, dispatch, #initialize, #not_found, #ok
Constructor Details
This class inherits a constructor from IrcMachine::HttpController
Instance Method Details
#notify ⇒ Object
5 6 7 8 |
# File 'lib/irc_machine/controller/github_notifications_controller.rb', line 5 def notify session.msg "##{match[1]}", Plugin::GithubNotification.new(request.body.read). end |