Class: ShellCardManagementApIs::CardDetailAutoRenewEnum
- Inherits:
-
Object
- Object
- ShellCardManagementApIs::CardDetailAutoRenewEnum
- Defined in:
- lib/shell_card_management_ap_is/models/card_detail_auto_renew_enum.rb
Overview
Whether to reissue card automatically when nearing the expiry. Allowed values: - 1. As per card type setting (Default). 2. Card will be Reissued when nearing its expiry date. 3. Card will not be Reissued.
Constant Summary collapse
- CARD_DETAIL_AUTO_RENEW_ENUM =
[ # TODO: Write general description for ENUM_1 ENUM_1 = 1, # TODO: Write general description for ENUM_2 ENUM_2 = 2, # TODO: Write general description for ENUM_3 ENUM_3 = 3 ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
22 23 24 25 26 |
# File 'lib/shell_card_management_ap_is/models/card_detail_auto_renew_enum.rb', line 22 def self.validate(value) return false if value.nil? CARD_DETAIL_AUTO_RENEW_ENUM.include?(value) end |