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

See Also:

Instance Method Summary (collapse)

Instance Method Details

- (Object) survey_response(survey_id, id)

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

- (Object) survey_responses(survey_id, options = {})

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