Class: Moov::Models::Components::InstitutionsSearchResponse

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(ach: nil, rtp: nil, wire: nil, fednow: nil) ⇒ InstitutionsSearchResponse

Returns a new instance of InstitutionsSearchResponse.



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

def initialize(ach: nil, rtp: nil, wire: nil, fednow: nil)
  @ach = ach
  @rtp = rtp
  @wire = wire
  @fednow = fednow
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @ach == other.ach
  return false unless @rtp == other.rtp
  return false unless @wire == other.wire
  return false unless @fednow == other.fednow
  true
end