Class: ShellEv::ConnectorVOUpdatedByEnum
- Inherits:
-
Object
- Object
- ShellEv::ConnectorVOUpdatedByEnum
- Defined in:
- lib/shell_ev/models/connector_vo_updated_by_enum.rb
Overview
Source of the last update
Constant Summary collapse
- CONNECTOR_VO_UPDATED_BY_ENUM =
[ # TODO: Write general description for FEED FEED = 'Feed'.freeze, # TODO: Write general description for ADMIN ADMIN = 'Admin'.freeze, # TODO: Write general description for TARIFFSERVICE TARIFFSERVICE = 'TariffService'.freeze, # TODO: Write general description for DEFAULTS DEFAULTS = 'Defaults'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
23 24 25 26 27 |
# File 'lib/shell_ev/models/connector_vo_updated_by_enum.rb', line 23 def self.validate(value) return false if value.nil? CONNECTOR_VO_UPDATED_BY_ENUM.include?(value) end |