class GHRH::Command::Test
Public Instance Methods
execute()
click to toggle source
# File lib/ghrh/command/test.rb, line 7 def execute raise "No repo specified (-r) or set (github.repo)" if not repo resp = GHRH::Client.post("/repos/#{repo}/hooks/#{id}/tests") puts "#{resp.code} #{resp.message}" pp resp end