Sha256: c2952c78802de8be6ef4afa3a8988d23b1cf17d3317fdd9920574d4c6ea722d5

Contents?: true

Size: 537 Bytes

Versions: 6

Compression:

Stored size: 537 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Assemblies
    module Admin
      # A command with all the business logic when destroying an assembly
      # member in the system.
      class DestroyAssemblyMember < Decidim::Commands::DestroyResource
        private

        def extra_params
          {
            resource: {
              title: resource.full_name
            },
            participatory_space: {
              title: resource.assembly.title
            }
          }
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-assemblies-0.29.1 app/commands/decidim/assemblies/admin/destroy_assembly_member.rb
decidim-assemblies-0.29.0 app/commands/decidim/assemblies/admin/destroy_assembly_member.rb
decidim-assemblies-0.29.0.rc4 app/commands/decidim/assemblies/admin/destroy_assembly_member.rb
decidim-assemblies-0.29.0.rc3 app/commands/decidim/assemblies/admin/destroy_assembly_member.rb
decidim-assemblies-0.29.0.rc2 app/commands/decidim/assemblies/admin/destroy_assembly_member.rb
decidim-assemblies-0.29.0.rc1 app/commands/decidim/assemblies/admin/destroy_assembly_member.rb