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