Module: Surveygizmo::Client::SurveyStatistic
- Included in:
- Surveygizmo::Client
- Defined in:
- lib/surveygizmo/client/survey_statistic.rb
Overview
Defines methods related to a SurveyGizmo survey statistic
Instance Method Summary collapse
-
#survey_statistic(survey_id, id) ⇒ Object
Returns survey statstic details for a given id.
-
#survey_statistics(survey_id, options = {}) ⇒ Object
List all survey statistics for a given survey.
Instance Method Details
#survey_statistic(survey_id, id) ⇒ Object
Returns survey statstic details for a given id
16 17 18 |
# File 'lib/surveygizmo/client/survey_statistic.rb', line 16 def survey_statistic(survey_id, id) get("survey/#{survey_id}/surveystatistic/#{id}") end |
#survey_statistics(survey_id, options = {}) ⇒ Object
List all survey statistics for a given survey
9 10 11 |
# File 'lib/surveygizmo/client/survey_statistic.rb', line 9 def survey_statistics(survey_id, = {}) get("survey/#{survey_id}/surveystatistic", ) end |