Class: ShellEv::ActiveResponse200JsonStatusEnum
- Inherits:
-
Object
- Object
- ShellEv::ActiveResponse200JsonStatusEnum
- Defined in:
- lib/shell_ev/models/active_response200_json_status_enum.rb
Overview
Indicates overall status of the request
Constant Summary collapse
- ACTIVE_RESPONSE200_JSON_STATUS_ENUM =
[ # TODO: Write general description for SUCCESS SUCCESS = 'SUCCESS'.freeze, # TODO: Write general description for FAILED FAILED = 'FAILED'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
17 18 19 20 21 |
# File 'lib/shell_ev/models/active_response200_json_status_enum.rb', line 17 def self.validate(value) return false if value.nil? ACTIVE_RESPONSE200_JSON_STATUS_ENUM.include?(value) end |