Method: Fourchette::GitHub#enable_hook

Defined in:
lib/fourchette/github.rb

#enable_hookObject



4
5
6
7
8
9
10
11
# File 'lib/fourchette/github.rb', line 4

def enable_hook
  logger.info 'Enabling the hooks for your app...'
  if fourchette_hook
    enable(fourchette_hook)
  else
    create_hook
  end
end