Class: Txgh::Handlers::Triggers::PullHandler

Inherits:
Handler
  • Object
show all
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

handle_request, #initialize

Constructor Details

This class inherits a constructor from Txgh::Handlers::Triggers::Handler

Instance Method Details

#executeObject



6
7
8
9
# File 'lib/txgh/handlers/triggers/pull_handler.rb', line 6

def execute
  puller.pull_slug(resource_slug)
  respond_with(200, true)
end