Exception: Moov::Models::Errors::CreateWalletValidationError

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(name: nil, description: nil, metadata: nil, raw_response: nil) ⇒ CreateWalletValidationError

Returns a new instance of CreateWalletValidationError.



25
26
27
28
29
30
# File 'lib/moov/models/errors/createwalletvalidationerror.rb', line 25

def initialize(name: nil, description: nil, metadata: nil, raw_response: nil)
  @name = name
  @description = description
  @metadata = 
  @raw_response = raw_response
end

Instance Method Details

#==(other) ⇒ Object



33
34
35
36
37
38
39
40
# File 'lib/moov/models/errors/createwalletvalidationerror.rb', line 33

def ==(other)
  return false unless other.is_a? self.class
  return false unless @name == other.name
  return false unless @description == other.description
  return false unless @metadata == other.
  return false unless @raw_response == other.raw_response
  true
end