Class: ShellCardManagementApIs::CardDetailsResponsePINTypeEnum

Inherits:
Object
  • Object
show all
Defined in:
lib/shell_card_management_ap_is/models/card_details_response_pin_type_enum.rb

Overview

PIN type: * ‘Card` - Card PIN * `Fleet` - Fleet PIN

Constant Summary collapse

CARD_DETAILS_RESPONSE_PIN_TYPE_ENUM =
[
  # TODO: Write general description for CARD
  CARD = 'Card'.freeze,

  # TODO: Write general description for FLEET
  FLEET = 'Fleet'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



17
18
19
20
21
# File 'lib/shell_card_management_ap_is/models/card_details_response_pin_type_enum.rb', line 17

def self.validate(value)
  return false if value.nil?

  CARD_DETAILS_RESPONSE_PIN_TYPE_ENUM.include?(value)
end