# File lib/gemnasium/gitlab_service/connection.rb, line 31 def get(path, headers = {}) request = Net::HTTP::Get.new(@base_url + path, headers.merge('Accept' => 'application/json', 'Content-Type' => 'application/json', 'User-Agent' => DEFAULT_AGENT)) request.basic_auth('X', @api_key) @connection.request(request) end