Class: Decidim::Exporters::InitiativeVotesPDF
- Inherits:
-
PDF
- Object
- Decidim::Exporters::InitiativeVotesPDF
- Defined in:
- lib/decidim/exporters/initiative_votes_pdf.rb
Overview
Inherits from abstract PDF exporter. This class is used to set the parameters used to create a PDF when exporting Survey Answers.
Instance Method Summary collapse
-
#initialize(collection, initiative, serializer = Serializer) ⇒ InitiativeVotesPDF
constructor
A new instance of InitiativeVotesPDF.
Constructor Details
#initialize(collection, initiative, serializer = Serializer) ⇒ InitiativeVotesPDF
Returns a new instance of InitiativeVotesPDF.
9 10 11 12 |
# File 'lib/decidim/exporters/initiative_votes_pdf.rb', line 9 def initialize(collection, initiative, serializer = Serializer) @initiative = initiative super(collection, serializer) end |