Class: Decidim::ContentParsers::ProposalParser::Metadata

Inherits:
Struct
  • Object
show all
Defined in:
lib/decidim/content_parsers/proposal_parser.rb

Overview

Class used as a container for metadata

Instance Attribute Summary collapse

Instance Attribute Details

#linked_proposalsArray

Returns an array of Decidim::Proposals::Proposal mentioned in content.

Returns:

  • (Array)

    an array of Decidim::Proposals::Proposal mentioned in content



20
# File 'lib/decidim/content_parsers/proposal_parser.rb', line 20

Metadata = Struct.new(:linked_proposals)