Sha256: 9402e04df8648f5071f179de42cdd4d7b31536ee9981685cbf1a7c5a3ea31967

Contents?: true

Size: 304 Bytes

Versions: 53

Compression:

Stored size: 304 Bytes

Contents

# frozen-string_literal: true

module Decidim::Amendable
  class AmendmentCreatedEvent < Decidim::Amendable::AmendmentBaseEvent
    def amendable_resource
      @amendable_resource ||= resource
    end

    def emendation_resource
      nil
    end

    def event_has_roles?
      true
    end
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
decidim-core-0.27.9 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.27.8 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.27.7 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.27.6 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.26.10 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.26.9 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.27.5 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.26.8 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.27.4 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.27.3 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.26.7 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.26.5 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.27.2 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.27.1 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.26.4 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.27.0 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.26.3 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.27.0.rc2 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.27.0.rc1 app/events/decidim/amendable/amendment_created_event.rb
decidim-core-0.26.2 app/events/decidim/amendable/amendment_created_event.rb