1 2 3 4 5 6 7
def api_prefix "/api/#{Gitlab::API::VERSION}" end def json_response JSON.parse(response.body) end