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