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