Class: ShellEv::EvseVOAuthorizationMethodsEnum
- Inherits:
-
Object
- Object
- ShellEv::EvseVOAuthorizationMethodsEnum
- Defined in:
- lib/shell_ev/models/evse_vo_authorization_methods_enum.rb
Overview
Methods that can be used to Authorize sessions on this EVSE
Constant Summary collapse
- EVSE_VO_AUTHORIZATION_METHODS_ENUM =
[ # TODO: Write general description for NEWMOTIONAPP NEWMOTIONAPP = 'NewMotionApp'.freeze, # TODO: Write general description for RFIDTOKEN RFIDTOKEN = 'RFIDToken'.freeze, # TODO: Write general description for PNC PNC = 'PnC'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
20 21 22 23 24 |
# File 'lib/shell_ev/models/evse_vo_authorization_methods_enum.rb', line 20 def self.validate(value) return false if value.nil? EVSE_VO_AUTHORIZATION_METHODS_ENUM.include?(value) end |