Class: Isurvey::Answer
- Inherits:
-
Object
- Object
- Isurvey::Answer
- Extended by:
- Collector
- Includes:
- Base
- Defined in:
- lib/isurvey/answer.rb
Instance Attribute Summary collapse
-
#result_id ⇒ Object
Returns the value of attribute result_id.
Attributes included from Base
Instance Method Summary collapse
Methods included from Collector
[], all, first, method_missing
Methods included from Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Isurvey::Base
Instance Attribute Details
#result_id ⇒ Object
Returns the value of attribute result_id.
5 6 7 |
# File 'lib/isurvey/answer.rb', line 5 def result_id @result_id end |
Instance Method Details
#question ⇒ Object
7 8 9 |
# File 'lib/isurvey/answer.rb', line 7 def question Question.find_by_screen_id(self.screen_id) end |