Exception: Moov::Models::Errors::DepositAccountValidationError

Inherits:
StandardError
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/moov/models/errors/depositaccountvalidationerror.rb

Overview

Descriptions of any field validations that failed while parsing the deposit account payload.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(source_system: nil, body: nil, raw_response: nil) ⇒ DepositAccountValidationError

Returns a new instance of DepositAccountValidationError.



23
24
25
26
27
# File 'lib/moov/models/errors/depositaccountvalidationerror.rb', line 23

def initialize(source_system: nil, body: nil, raw_response: nil)
  @source_system = source_system
  @body = body
  @raw_response = raw_response
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/moov/models/errors/depositaccountvalidationerror.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @source_system == other.source_system
  return false unless @body == other.body
  return false unless @raw_response == other.raw_response
  true
end