def record_dispatch(client:, project:, task:)
      db[:dispatches] << client.addr.to_h.merge(client_id:     client.id,
                                                dispatched_at: Time.now.utc,
                                                id:            UUID.new,
                                                project_id:    project.id,
                                                task_id:       task.id)
    end
def record_dispatch(client:, project:, task:)
      db[:dispatches] << client.addr.to_h.merge(client_id:     client.id,
                                                dispatched_at: Time.now.utc,
                                                id:            UUID.new,
                                                project_id:    project.id,
                                                task_id:       task.id)
    end
:reek:FeatureEnvy