Module: Decidim::Forms::QuestionnaireEntityInterface
- Includes:
 - Api::Types::BaseInterface
 
- Defined in:
 - lib/decidim/api/questionnaire_entity_interface.rb
 
Overview
This interface should be implemented by any Type that can be linked to a questionnaire The only requirement is to have an ID and the Type name be the class.name + Type
Class Method Summary collapse
Class Method Details
.resolve_type(obj, _ctx) ⇒ Object
      13 14 15  | 
    
      # File 'lib/decidim/api/questionnaire_entity_interface.rb', line 13 def self.resolve_type(obj, _ctx) "#{obj.class.name}Type".constantize end  |