Class: Aliquot::Validator::EncryptedMessageValidator
- Inherits:
-
Object
- Object
- Aliquot::Validator::EncryptedMessageValidator
- Includes:
- InstanceMethods
- Defined in:
- lib/aliquot/validator.rb
Overview
Class for validating the encryptedMessage component of a Google Pay token
Defined Under Namespace
Classes: Error
Instance Attribute Summary
Attributes included from InstanceMethods
Instance Method Summary collapse
-
#initialize(input) ⇒ EncryptedMessageValidator
constructor
A new instance of EncryptedMessageValidator.
Methods included from InstanceMethods
#errors, #errors_formatted, #valid?, #validate
Constructor Details
#initialize(input) ⇒ EncryptedMessageValidator
Returns a new instance of EncryptedMessageValidator.
285 286 287 288 |
# File 'lib/aliquot/validator.rb', line 285 def initialize(input) @input = input @schema = EncryptedMessageSchema end |