Class: ShellCardManagementApIs::CardDetailsResponseRenewedCardReissueSettingEnum

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

Overview

Reissue setting of the renewed new card. Reissue Setting: * ‘True` - Card will be sent to production * `False` - Parent Card is Dormant or the Card is not to be produced

Constant Summary collapse

CARD_DETAILS_RESPONSE_RENEWED_CARD_REISSUE_SETTING_ENUM =
[
  # TODO: Write general description for TRUE
  TRUE = 'True'.freeze,

  # TODO: Write general description for FALSE
  FALSE = 'False'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



19
20
21
22
23
# File 'lib/shell_card_management_ap_is/models/card_details_response_renewed_card_reissue_setting_enum.rb', line 19

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

  CARD_DETAILS_RESPONSE_RENEWED_CARD_REISSUE_SETTING_ENUM.include?(value)
end