Class: Txgh::Handlers::Triggers::PullHandler
- Defined in:
- lib/txgh/handlers/triggers/pull_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 Txgh::Handlers::Triggers::Handler
Instance Method Details
#execute ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/txgh/handlers/triggers/pull_handler.rb', line 6 def execute languages.each do |language| next unless project.supported_language?(language['language_code']) committer.commit_resource( branch_resource, branch, language['language_code'] ) end respond_with(200, true) end |