Class: Verizon::MECPlatformStatusEnum
- Inherits:
-
Object
- Object
- Verizon::MECPlatformStatusEnum
- Defined in:
- lib/verizon/models/mec_platform_status_enum.rb
Overview
Status of the MEC Platform (default is ‘unknown’)
Constant Summary collapse
- MEC_PLATFORM_STATUS_ENUM =
[ # TODO: Write general description for ACTIVE ACTIVE = 'Active'.freeze, # TODO: Write general description for INACTIVE INACTIVE = 'Inactive'.freeze, # TODO: Write general description for UNKNOWN UNKNOWN = 'unknown'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
20 21 22 23 24 |
# File 'lib/verizon/models/mec_platform_status_enum.rb', line 20 def self.validate(value) return false if value.nil? MEC_PLATFORM_STATUS_ENUM.include?(value) end |