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