Module: Surveygizmo::Client::Contact

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

Overview

Defines methods related to a SurveyGizmo contact

Instance Method Summary (collapse)

Instance Method Details

- (Object) contact(survey_id, survey_campaign_id, id)

Returns contact details for a given id



18
19
20
# File 'lib/surveygizmo/client/contact.rb', line 18

def contact(survey_id, survey_campaign_id, id)
  get("survey/#{survey_id}/surveycampaign/#{survey_campaign_id}/contact/#{id}")
end

- (Object) contacts(survey_id, survey_campaign_id)

List all contacts



10
11
12
# File 'lib/surveygizmo/client/contact.rb', line 10

def contacts(survey_id, survey_campaign_id)
  get("survey/#{survey_id}/surveycampaign/#{survey_campaign_id}/contact")
end