Class: Moov::Models::Components::BankAccountVerification

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(verification_method:, status:, exception_details: nil) ⇒ BankAccountVerification

Returns a new instance of BankAccountVerification.



24
25
26
27
28
# File 'lib/moov/models/components/bankaccountverification.rb', line 24

def initialize(verification_method:, status:, exception_details: nil)
  @verification_method = verification_method
  @status = status
  @exception_details = exception_details
end

Instance Method Details

#==(other) ⇒ Object



31
32
33
34
35
36
37
# File 'lib/moov/models/components/bankaccountverification.rb', line 31

def ==(other)
  return false unless other.is_a? self.class
  return false unless @verification_method == other.verification_method
  return false unless @status == other.status
  return false unless @exception_details == other.exception_details
  true
end