Sha256: ee3658e4f5be73d975533011896f4811fb383f32d1f75f9f05cadc1e504719d1
Contents?: true
Size: 1.24 KB
Versions: 4
Compression:
Stored size: 1.24 KB
Contents
module SurveyGizmo; module API # @see SurveyGizmo::Resource::ClassMethods class Response include SurveyGizmo::Resource # @macro [attach] virtus_attribute # @return [$2] the attribute +$1+ as a $2 attribute :id, Integer attribute :survey_id, Integer attribute :contact_id, Integer attribute :data, String attribute :status, String attribute :date_submitted, DateTime attribute :is_test_data, Boolean attribute :sResponseComment, String attribute :variable, Hash # READ-ONLY attribute :meta, Hash # READ-ONLY attribute :shown, Hash # READ-ONLY attribute :url, Hash # READ-ONLY attribute :answers, Hash # READ-ONLY # routing route '/survey/:survey_id/surveyresponse', :via => :create route '/survey/:survey_id/surveyresponse/:id', :via => [:get, :update, :delete] # @see SurveyGizmo::Resource#to_param_options def to_param_options {:id => self.id, :survey_id => self.survey_id} end def datesubmitted=(value) self.date_submitted = value end end end; end
Version data entries
4 entries across 4 versions & 1 rubygems