Class: Rapidfire::QuestionResult
- Inherits:
-
BaseService
- Object
- BaseService
- Rapidfire::QuestionResult
- Includes:
- ActiveModel::Serialization
- Defined in:
- app/services/rapidfire/question_result.rb
Instance Attribute Summary collapse
-
#question ⇒ Object
Returns the value of attribute question.
-
#results ⇒ Object
Returns the value of attribute results.
Instance Method Summary collapse
Methods inherited from BaseService
Constructor Details
This class inherits a constructor from Rapidfire::BaseService
Instance Attribute Details
#question ⇒ Object
Returns the value of attribute question.
5 6 7 |
# File 'app/services/rapidfire/question_result.rb', line 5 def question @question end |
#results ⇒ Object
Returns the value of attribute results.
5 6 7 |
# File 'app/services/rapidfire/question_result.rb', line 5 def results @results end |
Instance Method Details
#active_model_serializer ⇒ Object
7 8 9 |
# File 'app/services/rapidfire/question_result.rb', line 7 def active_model_serializer Rapidfire::QuestionResultSerializer end |