lib/qualtrics/submission.rb in qualtrics-0.5.9 vs lib/qualtrics/submission.rb in qualtrics-0.6.0
- old
+ new
@@ -9,19 +9,19 @@
@distribution_id = options[:distribution_id]
@finished_survey = options[:finished_survey]
@time_stamp = options[:time_stamp]
end
- def csv_result
+ def raw_csv
response = get('getLegacyResponseData', {
'SurveyID' => survey_id,
'ResponseID' => id,
'Format' => 'CSV',
'ExportTags' => 1
})
if response.status == 200
- response
+ response.result
else
false
end
end
\ No newline at end of file