Class: Decidim::Debates::CloseDebateEvent

Inherits:
Events::SimpleEvent
  • Object
show all
Defined in:
decidim-debates/app/events/decidim/debates/close_debate_event.rb

Instance Method Summary collapse

Instance Method Details

#event_has_roles?Boolean

Returns:

  • (Boolean)

10
11
12
# File 'decidim-debates/app/events/decidim/debates/close_debate_event.rb', line 10

def event_has_roles?
  true
end

#resource_textObject


6
7
8
# File 'decidim-debates/app/events/decidim/debates/close_debate_event.rb', line 6

def resource_text
  translated_attribute(resource.conclusions)
end