Class: TxghServer::Triggers::PushHandler
- Defined in:
- lib/txgh-server/triggers/push_handler.rb
Instance Attribute Summary
Attributes inherited from Handler
#branch, #logger, #project, #repo, #resource_slug
Instance Method Summary collapse
Methods inherited from Handler
Constructor Details
This class inherits a constructor from TxghServer::Triggers::Handler
Instance Method Details
#execute ⇒ Object
8 9 10 11 12 |
# File 'lib/txgh-server/triggers/push_handler.rb', line 8 def execute pusher.push_slug(resource_slug) repo.is_a?(Txgh::GithubRepo) ? update_github_status : update_gitlab_status respond_with(200, true) end |