Class: Verizon::CycleTypeEnum
- Inherits:
-
Object
- Object
- Verizon::CycleTypeEnum
- Defined in:
- lib/verizon/models/cycle_type_enum.rb
Overview
CycleType.
Constant Summary collapse
- CYCLE_TYPE_ENUM =
[ # TODO: Write general description for CYCLEONE CYCLEONE = 'cycleone'.freeze, # TODO: Write general description for CYCLETWO CYCLETWO = 'cycletwo'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
17 18 19 20 21 |
# File 'lib/verizon/models/cycle_type_enum.rb', line 17 def self.validate(value) return false if value.nil? CYCLE_TYPE_ENUM.include?(value) end |