Exception: GustoEmbedded::Models::Errors::NotFoundErrorObject
- Inherits:
-
StandardError
- Object
- StandardError
- GustoEmbedded::Models::Errors::NotFoundErrorObject
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/errors/not_found_error_object.rb
Overview
Not Found
The requested resource does not exist. Make sure the provided ID/UUID is valid.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(errors:) ⇒ NotFoundErrorObject
constructor
A new instance of NotFoundErrorObject.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(errors:) ⇒ NotFoundErrorObject
Returns a new instance of NotFoundErrorObject.
21 22 23 |
# File 'lib/gusto_embedded/models/errors/not_found_error_object.rb', line 21 def initialize(errors:) @errors = errors end |
Instance Method Details
#==(other) ⇒ Object
26 27 28 29 30 |
# File 'lib/gusto_embedded/models/errors/not_found_error_object.rb', line 26 def ==(other) return false unless other.is_a? self.class return false unless @errors == other.errors true end |