Class: Moov::Models::Operations::SearchInstitutionsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(name: nil, routing_number: nil, limit: nil, x_moov_version: 'v2024.01.00') ⇒ SearchInstitutionsRequest

Returns a new instance of SearchInstitutionsRequest.



34
35
36
37
38
39
# File 'lib/moov/models/operations/searchinstitutions_request.rb', line 34

def initialize(name: nil, routing_number: nil, limit: nil, x_moov_version: 'v2024.01.00')
  @name = name
  @routing_number = routing_number
  @limit = limit
  @x_moov_version = x_moov_version
end

Instance Method Details

#==(other) ⇒ Object



42
43
44
45
46
47
48
49
# File 'lib/moov/models/operations/searchinstitutions_request.rb', line 42

def ==(other)
  return false unless other.is_a? self.class
  return false unless @name == other.name
  return false unless @routing_number == other.routing_number
  return false unless @limit == other.limit
  return false unless @x_moov_version == other.x_moov_version
  true
end