Class: Decidim::Elections::Votes::VoteAcceptedEvent
- Inherits:
-
Decidim::Events::SimpleEvent
- Object
- Decidim::Events::SimpleEvent
- Decidim::Elections::Votes::VoteAcceptedEvent
- Defined in:
- app/events/decidim/elections/votes/vote_accepted_event.rb
Instance Method Summary collapse
Instance Method Details
#encrypted_vote_hash ⇒ Object
14 15 16 |
# File 'app/events/decidim/elections/votes/vote_accepted_event.rb', line 14 def encrypted_vote_hash extra[:vote]["encrypted_vote_hash"] end |
#resource_name ⇒ Object
10 11 12 |
# File 'app/events/decidim/elections/votes/vote_accepted_event.rb', line 10 def resource_name @resource_name ||= translated_attribute(resource.title) end |
#verify_url ⇒ Object
18 19 20 |
# File 'app/events/decidim/elections/votes/vote_accepted_event.rb', line 18 def verify_url extra[:verify_url] end |