json_pr_issue_base.rb
# open a connection and pass to block
open a connection and pass to block
open a connection and pass to block
def http_connection
    Net::HTTP.start('api.github.com', 443, use_ssl: true) do |http|
      http.verify_mode = OpenSSL::SSL::VERIFY_PEER
      yield http
    end
  end
def http_connection Net :: HTTP . start ( 'api.github.com' , 443 , use_ssl : true ) do | http | http . verify_mode = OpenSSL :: SSL :: VERIFY_PEER yield http end end
open a connection and pass to block
open a connection and pass to block