Class: Hubstats::EventsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- Hubstats::EventsController
- Defined in:
- app/controllers/hubstats/events_controller.rb
Instance Method Summary collapse
Instance Method Details
#handler ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'app/controllers/hubstats/events_controller.rb', line 6 def handler verify_signature(request) kind = request.headers['X-Github-Event'] event = params.with_indifferent_access eventsHandler = Hubstats::EventsHandler.new() eventsHandler.route(event,kind) render :nothing => true end |