7 8 9 10 11 12
# File 'lib/ghrh/command/get.rb', line 7 def execute raise "No repo specified (-r) or set (github.repo)" if not repo resp = GHRH::Client.get("/repos/#{repo}/hooks/#{id}") puts "#{resp.code} #{resp.message}" pp resp end