Class: Moov::Models::Errors::PatchAccountError

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(profile: nil, metadata: nil, terms_of_service: nil, foreign_id: nil, customer_support: nil, settings: nil, error: nil, raw_response: nil) ⇒ PatchAccountError

Returns a new instance of PatchAccountError.



34
35
36
37
38
39
40
41
42
43
# File 'lib/moov/models/errors/patchaccounterror.rb', line 34

def initialize(profile: nil, metadata: nil, terms_of_service: nil, foreign_id: nil, customer_support: nil, settings: nil, error: nil, raw_response: nil)
  @profile = profile
   = 
  @terms_of_service = terms_of_service
  @foreign_id = foreign_id
  @customer_support = customer_support
  @settings = settings
  @error = error
  @raw_response = raw_response
end

Instance Method Details

#==(other) ⇒ Object



46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/moov/models/errors/patchaccounterror.rb', line 46

def ==(other)
  return false unless other.is_a? self.class
  return false unless @profile == other.profile
  return false unless  == other.
  return false unless @terms_of_service == other.terms_of_service
  return false unless @foreign_id == other.foreign_id
  return false unless @customer_support == other.customer_support
  return false unless @settings == other.settings
  return false unless @error == other.error
  return false unless @raw_response == other.raw_response
  true
end