pull_response = RestCall.get("/repos/bob/rails8/pulls") issue_response = RestCall.get("/repos/bob/rails8/issues/#{response.first['issue']}") # either of these might 404