lib/surveygizmo/client/survey_response.rb in surveygizmo-0.0.1 vs lib/surveygizmo/client/survey_response.rb in surveygizmo-0.0.2
- old
+ new
@@ -4,12 +4,12 @@
# @see http://developer.surveygizmo.com/resources/rest-api-documentation-version-1-01/api-object-api-object-surveyresponse/
module SurveyResponse
# List all survey responses for a given survey
# @param survey_id [Integer, String] Specify the survey to the responses to get
- def survey_responses(survey_id)
- get("survey/#{survey_id}/surveyresponse")
+ def survey_responses(survey_id, options = {})
+ get("survey/#{survey_id}/surveyresponse", options)
end
# Returns survey response details for a given id
# @param survey_id [Integer, String] Specify the survey to the response to get
# @param id [Integer, String] Specify the response to get
@@ -19,6 +19,6 @@
# TODO: Create, Update, Delete
end
end
-end
\ No newline at end of file
+end