Exception: Moov::Models::Errors::ListWalletsValidationError

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(status: nil, wallet_type: nil, skip: nil, count: nil, raw_response: nil) ⇒ ListWalletsValidationError

Returns a new instance of ListWalletsValidationError.



27
28
29
30
31
32
33
# File 'lib/moov/models/errors/listwalletsvalidationerror.rb', line 27

def initialize(status: nil, wallet_type: nil, skip: nil, count: nil, raw_response: nil)
  @status = status
  @wallet_type = wallet_type
  @skip = skip
  @count = count
  @raw_response = raw_response
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @status == other.status
  return false unless @wallet_type == other.wallet_type
  return false unless @skip == other.skip
  return false unless @count == other.count
  return false unless @raw_response == other.raw_response
  true
end