Exception: GustoEmbedded::Models::Errors::ConflictErrorObject
- Inherits:
-
StandardError
- Object
- StandardError
- GustoEmbedded::Models::Errors::ConflictErrorObject
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/errors/conflict_error_object.rb
Overview
Conflict
This error occurs when the resource version provided does not match the current version. Retrieve the latest version and retry.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(errors:) ⇒ ConflictErrorObject
constructor
A new instance of ConflictErrorObject.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(errors:) ⇒ ConflictErrorObject
Returns a new instance of ConflictErrorObject.
21 22 23 |
# File 'lib/gusto_embedded/models/errors/conflict_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/conflict_error_object.rb', line 26 def ==(other) return false unless other.is_a? self.class return false unless @errors == other.errors true end |