Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 960 Bytes

CampaignStateChangedNotification.md

File metadata and controls

23 lines (16 loc) · 960 Bytes

TalonOne::CampaignStateChangedNotification

Properties

Name Type Description Notes
campaign Campaign
old_state String The campaign's old state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'draft', 'archived']
new_state String The campaign's new state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'draft', 'archived']
ruleset Ruleset [optional]

Code Sample

require 'TalonOne'

instance = TalonOne::CampaignStateChangedNotification.new(campaign: null,
                                 old_state: disabled,
                                 new_state: running,
                                 ruleset: null)