Class: Isurvey::Result

Inherits:
Object
  • Object
show all
Extended by:
Collector
Includes:
Base
Defined in:
lib/isurvey/result.rb

Instance Attribute Summary

Attributes included from Base

#hash

Instance Method Summary collapse

Methods included from Collector

[], all, first, method_missing

Methods included from Base

#initialize, #method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Isurvey::Base

Instance Method Details

#answersObject



6
7
8
# File 'lib/isurvey/result.rb', line 6

def answers
  Answer.by_result_id(self.result_id)
end