Sha256: 5118868648786bf4da7ddc779c0170cab4bd4aeb2cd789d09c6f648290cac802
Contents?: true
Size: 398 Bytes
Versions: 6
Compression:
Stored size: 398 Bytes
Contents
# frozen_string_literal: true module Decidim module Debates module Admin # A command with all the business logic when an admin closes a debate. class CloseDebate < Decidim::Debates::CloseDebate private def attributes { conclusions: form.conclusions, closed_at: form.closed_at } end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems