Sha256: e424fb4350cc82913d5fc737e58ec66d35554fca36ffd7dc2b0ac0422335208e

Contents?: true

Size: 356 Bytes

Versions: 6

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Proposals
    module Admin
      class CreateProposalState < Decidim::Commands::CreateResource
        fetch_form_attributes :title, :text_color, :bg_color, :announcement_title, :component

        def resource_class
          Decidim::Proposals::ProposalState
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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