Class: ShellEv::LocationsMarkersEvseStatusEnum
- Inherits:
-
Object
- Object
- ShellEv::LocationsMarkersEvseStatusEnum
- Defined in:
- lib/shell_ev/models/locations_markers_evse_status_enum.rb
Overview
locationsMarkersEvseStatus.
Constant Summary collapse
- LOCATIONS_MARKERS_EVSE_STATUS_ENUM =
[ # TODO: Write general description for AVAILABLE AVAILABLE = 'Available'.freeze, # TODO: Write general description for OCCUPIED OCCUPIED = 'Occupied'.freeze, # TODO: Write general description for UNAVAILABLE UNAVAILABLE = 'Unavailable'.freeze, # TODO: Write general description for UNKNOWN UNKNOWN = 'Unknown'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
23 24 25 26 27 |
# File 'lib/shell_ev/models/locations_markers_evse_status_enum.rb', line 23 def self.validate(value) return false if value.nil? LOCATIONS_MARKERS_EVSE_STATUS_ENUM.include?(value) end |