class GdsApi::ListResponse

def results

def results
  # support group_by results from the content api by checking if there is a
  # grouped_results key present first. if it's not, then fallback to the
  # results key
  to_ostruct.grouped_results || to_ostruct.results
end