Class: Aliquot::Validator::SignedMessage

Inherits:
Object
  • Object
show all
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

#output

Instance Method Summary collapse

Methods included from InstanceMethods

#errors, #errors_formatted, #valid?, #validate

Constructor Details

#initialize(input) ⇒ SignedMessage

Returns a new instance of SignedMessage.



273
274
275
276
# File 'lib/aliquot/validator.rb', line 273

def initialize(input)
  @input = input
  @schema = SignedMessageSchema
end