Class: HooksController

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

Instance Method Summary collapse

Instance Method Details

#githubObject



4
5
6
7
8
# File 'app/controllers/hooks_controller.rb', line 4

def github
  GithubHookWorker.perform_async(params["repository"]["id"], params["sender"]["id"])

  render json: nil, status: :ok
end