Module: Surveygizmo::Client::SurveyCampaign
- Included in:
- Surveygizmo::Client
- Defined in:
- lib/surveygizmo/client/survey_campaign.rb
Overview
Defines methods related to a SurveyGizmo survey campaign
Instance Method Summary collapse
-
#survey_campaign(survey_id, id) ⇒ Object
Returns survey campaign details for a given id.
-
#survey_campaigns(survey_id) ⇒ Object
List all survey campaigns for a given survey.
Instance Method Details
#survey_campaign(survey_id, id) ⇒ Object
Returns survey campaign details for a given id
16 17 18 |
# File 'lib/surveygizmo/client/survey_campaign.rb', line 16 def survey_campaign(survey_id, id) get("survey/#{survey_id}/surveycampaign/#{id}") end |
#survey_campaigns(survey_id) ⇒ Object
List all survey campaigns for a given survey
9 10 11 |
# File 'lib/surveygizmo/client/survey_campaign.rb', line 9 def survey_campaigns(survey_id) get("survey/#{survey_id}/surveycampaign") end |