Sha256: 3a0f7176e698afebb48cc6a1a19e93190fe1019b2ac5e6e68250630f91750c5b
Contents?: true
Size: 841 Bytes
Versions: 8
Compression:
Stored size: 841 Bytes
Contents
# typed: true # frozen_string_literal: true module EML module UK class Payload module Card class Lock < ::EML::UK::Payload REQUIRED_CONFIG = %i[merchant_group].freeze REQUIRED_VALUES = %i[note reason].freeze private sig { params(merchant_group: String).returns(String) } attr_accessor :merchant_group sig { params(note: String).returns(String) } attr_accessor :note REASONS = %w[ Damaged DataBreach Lost Miscellaneous OfficeError PastAccountExpirationDate Stolen UnclaimedProperty ].freeze sig { params(reason: String).void } def reason=(reason) validate_enum(:reason, reason, REASONS) @reason = reason end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems