Class: Verizon::CampaignMetaInfoProtocolEnum
- Inherits:
-
Object
- Object
- Verizon::CampaignMetaInfoProtocolEnum
- Defined in:
- lib/verizon/models/campaign_meta_info_protocol_enum.rb
Overview
Firmware protocol. Valid values include: LWM2M, OMD-DM.
Constant Summary collapse
- CAMPAIGN_META_INFO_PROTOCOL_ENUM =
[ # TODO: Write general description for LW_M2M LW_M2M = 'LWM2M'.freeze, # TODO: Write general description for OMDDM OMDDM = 'OMD-DM'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
17 18 19 20 21 |
# File 'lib/verizon/models/campaign_meta_info_protocol_enum.rb', line 17 def self.validate(value) return false if value.nil? CAMPAIGN_META_INFO_PROTOCOL_ENUM.include?(value) end |