Module: Surveygizmo::Client::SurveyResponse

Included in:
Surveygizmo::Client
Defined in:
lib/surveygizmo/client/survey_response.rb

Overview

Defines methods related to a SurveyGizmo survey response

Instance Method Summary collapse

Instance Method Details

#survey_response(survey_id, id) ⇒ Object

Returns survey response details for a given id



16
17
18
# File 'lib/surveygizmo/client/survey_response.rb', line 16

def survey_response(survey_id, id)
  get("survey/#{survey_id}/surveyresponse/#{id}")
end

#survey_responses(survey_id, options = {}) ⇒ Object

List all survey responses for a given survey



9
10
11
# File 'lib/surveygizmo/client/survey_response.rb', line 9

def survey_responses(survey_id, options = {})
  get("survey/#{survey_id}/surveyresponse", options)
end