Class: Comunit::Network::Handlers::PollQuestionHandler

Inherits:
Comunit::Network::Handler show all
Defined in:
app/services/comunit/network/handlers/poll_question_handler.rb

Overview

Handling poll questions

Constant Summary

Constants inherited from Comunit::Network::Handler

Comunit::Network::Handler::MAIN_HOST

Instance Attribute Summary

Attributes inherited from Comunit::Network::Handler

#data, #entity

Class Method Summary collapse

Methods inherited from Comunit::Network::Handler

[], #amend, #entity_class, ignored_attributes, #initialize, #prepare_model_data, #pull, #pull_and_validate, #push, relationship_data

Methods included from Sending

#headers, #rest

Methods included from Logging

#log, #log_error, #log_info, #log_warn

Constructor Details

This class inherits a constructor from Comunit::Network::Handler

Class Method Details

.permitted_attributesObject



8
9
10
# File 'app/services/comunit/network/handlers/poll_question_handler.rb', line 8

def self.permitted_attributes
  %i[comment created_at multiple_choice priority text]
end