Sha256: 1677afb98daf7dcc11c9356281305b959a9e4d24324aea5c5ae143928df16b41

Contents?: true

Size: 345 Bytes

Versions: 13

Compression:

Stored size: 345 Bytes

Contents

# frozen_string_literal: true

module Decidim::Amendable
  class AmendmentRejectedEvent < Decidim::Amendable::AmendmentBaseEvent
    def amendable_resource
      @amendable_resource ||= resource.amendable
    end

    def emendation_resource
      @emendation_resource ||= resource
    end

    def event_has_roles?
      true
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-core-0.29.1 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.28.4 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.29.0 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.28.3 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.29.0.rc4 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.29.0.rc3 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.29.0.rc2 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.29.0.rc1 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.28.2 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.28.1 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.28.0 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.28.0.rc5 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.28.0.rc4 app/events/decidim/amendable/amendment_rejected_event.rb