Class: Bakong::Khqr::MerchantCode::AccountInformation
- Inherits:
-
TagLengthString
- Object
- TagLengthString
- Bakong::Khqr::MerchantCode::AccountInformation
- Defined in:
- lib/bakong/khqr/merchant_code/global_unique_identifier.rb
Instance Attribute Summary
Attributes inherited from TagLengthString
Instance Method Summary collapse
-
#initialize(tag, value) ⇒ AccountInformation
constructor
A new instance of AccountInformation.
Methods inherited from TagLengthString
Constructor Details
#initialize(tag, value) ⇒ AccountInformation
Returns a new instance of AccountInformation.
82 83 84 85 86 87 88 |
# File 'lib/bakong/khqr/merchant_code/global_unique_identifier.rb', line 82 def initialize(tag, value) if value.length > EMV[:INVALID_LENGTH][:ACCOUNT_INFORMATION] raise Error.from(ERROR_CODES[:ACCOUNT_INFORMATION_LENGTH_INVALID]) end super end |