Class: GitWit::GitController

Inherits:
ApplicationController show all
Defined in:
app/controllers/git_wit/git_controller.rb

Constant Summary collapse

ENV_KEEPERS =
%w(REQUEST_METHOD QUERY_STRING REMOTE_ADDR SERVER_ADDR 
SERVER_NAME SERVER_PORT CONTENT_TYPE)

Instance Method Summary collapse

Instance Method Details

#serviceObject



12
13
14
15
# File 'app/controllers/git_wit/git_controller.rb', line 12

def service
  # Shell out to git-http-backend.
  self.status, self.headers, self.response_body = run_shell
end