Exception: Moov::Models::Errors::ConnectAccountRequestValidationError

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(principal_account_id: nil, allow_scopes: nil, raw_response: nil) ⇒ ConnectAccountRequestValidationError

Returns a new instance of ConnectAccountRequestValidationError.



23
24
25
26
27
# File 'lib/moov/models/errors/connectaccountrequestvalidationerror.rb', line 23

def initialize(principal_account_id: nil, allow_scopes: nil, raw_response: nil)
  @principal_account_id = 
  @allow_scopes = allow_scopes
  @raw_response = raw_response
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/moov/models/errors/connectaccountrequestvalidationerror.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @principal_account_id == other.
  return false unless @allow_scopes == other.allow_scopes
  return false unless @raw_response == other.raw_response
  true
end