class GdsApi::ContentApi
def get_batch(batch_url, existing_response = nil)
def get_batch(batch_url, existing_response = nil) batch_response = get_json!(batch_url) if existing_response existing_response.to_hash["total"] += batch_response["total"] existing_response.to_hash["results"] += batch_response["results"] existing_response else batch_response end end