Class: Decidim::Consultations::ConsultationQuestionType

Inherits:
Api::Types::BaseObject show all
Defined in:
decidim-consultations/lib/decidim/api/consultation_question_type.rb

Overview

This type represents a consultation.

Instance Method Summary collapse

Instance Method Details

#componentsObject


23
24
25
26
27
# File 'decidim-consultations/lib/decidim/api/consultation_question_type.rb', line 23

def components
  Decidim::Component.where(
    participatory_space: object
  ).published
end