Class: Verizon::CampaignStatusEnum
- Inherits:
-
Object
- Object
- Verizon::CampaignStatusEnum
- Defined in:
- lib/verizon/models/campaign_status_enum.rb
Overview
Current status of the campaign.
Constant Summary collapse
- CAMPAIGN_STATUS_ENUM =
[ # TODO: Write general description for CAMPAIGNREQUESTPENDING CAMPAIGNREQUESTPENDING = 'CampaignRequestPending'.freeze, # TODO: Write general description for CAMPAIGNREQUESTFAILED CAMPAIGNREQUESTFAILED = 'CampaignRequestFailed'.freeze, # TODO: Write general description for CAMPAIGNREQUESTQUEUED CAMPAIGNREQUESTQUEUED = 'CampaignRequestQueued'.freeze, # TODO: Write general description for CAMPAIGNCANCELLED CAMPAIGNCANCELLED = 'CampaignCancelled'.freeze, # TODO: Write general description for CAMPAIGNABORTED CAMPAIGNABORTED = 'CampaignAborted'.freeze, # TODO: Write general description for CAMPAIGNFAILED CAMPAIGNFAILED = 'CampaignFailed'.freeze, # TODO: Write general description for CAMPAIGNSCHEDULED CAMPAIGNSCHEDULED = 'CampaignScheduled'.freeze, # TODO: Write general description for CAMPAIGNENDED CAMPAIGNENDED = 'CampaignEnded'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
35 36 37 38 39 |
# File 'lib/verizon/models/campaign_status_enum.rb', line 35 def self.validate(value) return false if value.nil? CAMPAIGN_STATUS_ENUM.include?(value) end |