Class: Moov::Models::Components::PatchAccount

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

Overview

Describes the fields available when patching a Moov account.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(profile: nil, terms_of_service: nil, foreign_id: nil, settings: nil, metadata: nil, customer_support: nil) ⇒ PatchAccount

Returns a new instance of PatchAccount.



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

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

Instance Method Details

#==(other) ⇒ Object



41
42
43
44
45
46
47
48
49
50
# File 'lib/moov/models/components/patchaccount.rb', line 41

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