Class: Github::PostReceiveEvent
- Defined in:
- app/models/github/post_receive_event.rb
Instance Attribute Summary
Attributes inherited from Event
Instance Method Summary collapse
Methods inherited from Event
Constructor Details
This class inherits a constructor from Github::Event
Instance Method Details
#process! ⇒ Object
7 8 9 10 11 |
# File 'app/models/github/post_receive_event.rb', line 7 def process! Rails.logger.info "\e[34m[github] Processing Post-Receive Event\e[0m" project = Project.find_by_slug! payload["repository"]["name"] Houston.observer.fire "hooks:post_receive", project, payload end |