Sha256: f4b998c2e2c6594a2cff11bd442413eb84c106845d4db4fb870716ebf36bc4f3
Contents?: true
Size: 881 Bytes
Versions: 1
Compression:
Stored size: 881 Bytes
Contents
module Surveygizmo class Client # Defines methods related to a SurveyGizmo survey response # @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") 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 def survey_response(survey_id, id) get("survey/#{survey_id}/surveyresponse/#{id}") end # TODO: Create, Update, Delete end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
surveygizmo-0.0.1 | lib/surveygizmo/client/survey_response.rb |