module Pghub::Lgtm

Constants

VERSION

Public Class Methods

post(issue_path) click to toggle source
# File lib/pghub/lgtm.rb, line 11
def post(issue_path)
  comment_client = GithubAPI.new(issue_path)
  comment_client.post(get_md_link)
end

Private Class Methods

get_response(url) click to toggle source
# File lib/pghub/lgtm.rb, line 44
def get_response(url)
  Net::HTTP.get_response(URI.parse(url))
end