Sha256: 35f931133ccd484c8603a4965e5d8ce8bc8ef1e7d595ae3be99ca16771b5c300
Contents?: true
Size: 1.03 KB
Versions: 2
Compression:
Stored size: 1.03 KB
Contents
module SurveyGizmo::API class Campaign include SurveyGizmo::Resource attribute :id, Integer attribute :name, String attribute :type, String attribute :_type, String attribute :subtype, String attribute :_subtype, String attribute :__subtype, String attribute :status, String attribute :uri, String attribute :SSL, Boolean attribute :slug, String attribute :language, String attribute :close_message, String attribute :limit_responses, String attribute :tokenvariables, Array attribute :survey_id, Integer attribute :datecreated, DateTime attribute :datemodified, DateTime attribute :surveycampaign, Integer attribute :copy, Boolean @route = '/survey/:survey_id/surveycampaign' def contacts(conditions = {}) Contact.all(conditions.merge(children_params).merge(all_pages: !conditions[:page])) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
survey-gizmo-ruby-8.0.0 | lib/survey_gizmo/api/campaign.rb |
survey-gizmo-ruby-7.1.1 | lib/survey_gizmo/api/campaign.rb |