module CMDx::RunSerializer

def call(run)

def call(run)
  {
    id: run.id,
    results: run.results.map(&:to_h)
  }
end