Class: TxghServer::Triggers::PullHandler

Inherits:
Handler
  • Object
show all
Defined in:
lib/txgh-server/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 TxghServer::Triggers::Handler

Instance Method Details

#executeObject



5
6
7
8
# File 'lib/txgh-server/triggers/pull_handler.rb', line 5

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