Exception: Moov::Models::Errors::PatchTransferValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- Moov::Models::Errors::PatchTransferValidationError
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/errors/patchtransfervalidationerror.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(metadata: nil, foreign_id: nil, raw_response: nil) ⇒ PatchTransferValidationError
constructor
A new instance of PatchTransferValidationError.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(metadata: nil, foreign_id: nil, raw_response: nil) ⇒ PatchTransferValidationError
Returns a new instance of PatchTransferValidationError.
23 24 25 26 27 |
# File 'lib/moov/models/errors/patchtransfervalidationerror.rb', line 23 def initialize(metadata: nil, foreign_id: nil, raw_response: nil) @metadata = @foreign_id = foreign_id @raw_response = raw_response end |
Instance Method Details
#==(other) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/moov/models/errors/patchtransfervalidationerror.rb', line 30 def ==(other) return false unless other.is_a? self.class return false unless @metadata == other. return false unless @foreign_id == other.foreign_id return false unless @raw_response == other.raw_response true end |