Class: Verizon::CacheModeEnum
- Inherits:
-
Object
- Object
- Verizon::CacheModeEnum
- Defined in:
- lib/verizon/models/cache_mode_enum.rb
Overview
Location cache mode.
Constant Summary collapse
- CACHE_MODE_ENUM =
[ # TODO: Write general description for ENUM_0 ENUM_0 = '0'.freeze, # TODO: Write general description for ENUM_1 ENUM_1 = '1'.freeze, # TODO: Write general description for ENUM_2 ENUM_2 = '2'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
20 21 22 23 24 |
# File 'lib/verizon/models/cache_mode_enum.rb', line 20 def self.validate(value) return false if value.nil? CACHE_MODE_ENUM.include?(value) end |