Sha256: f0c505496f83efe0e0b2138f26d94562e9c264437c3058b6119abc575dc5552d
Contents?: true
Size: 1018 Bytes
Versions: 29
Compression:
Stored size: 1018 Bytes
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 :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
29 entries across 29 versions & 1 rubygems