Class: Enlight::Models::QuestionAndResponse

Inherits:
Model
  • Object
show all
Defined in:
lib/enlight/models/question_and_response.rb

Instance Attribute Summary collapse

Attributes inherited from Model

#id

Method Summary

Methods inherited from Model

#initialize

Constructor Details

This class inherits a constructor from Enlight::Models::Model

Instance Attribute Details

#questionObject

Returns the value of attribute question.



4
5
6
# File 'lib/enlight/models/question_and_response.rb', line 4

def question
  @question
end

#responseObject

Returns the value of attribute response.



4
5
6
# File 'lib/enlight/models/question_and_response.rb', line 4

def response
  @response
end