Class: ShellEv::AccessibilityStatusEnum
- Inherits:
-
Object
- Object
- ShellEv::AccessibilityStatusEnum
- Defined in:
- lib/shell_ev/models/accessibility_status_enum.rb
Overview
Accessibility Status
Constant Summary collapse
- ACCESSIBILITY_STATUS_ENUM =
[ # TODO: Write general description for FREEPUBLIC FREEPUBLIC = 'FreePublic'.freeze, # TODO: Write general description for PAYINGPUBLIC PAYINGPUBLIC = 'PayingPublic'.freeze, # TODO: Write general description for RESTRICTED RESTRICTED = 'Restricted'.freeze, # TODO: Write general description for UNSPECIFIED UNSPECIFIED = 'Unspecified'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
23 24 25 26 27 |
# File 'lib/shell_ev/models/accessibility_status_enum.rb', line 23 def self.validate(value) return false if value.nil? ACCESSIBILITY_STATUS_ENUM.include?(value) end |