Exception: OpenApiSDK::Models::Errors::Conflict
- Inherits:
-
StandardError
- Object
- StandardError
- OpenApiSDK::Models::Errors::Conflict
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/open_api_sdk/models/errors/conflict.rb
Overview
This response is sent when a request conflicts with the current state of the server.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(error:) ⇒ Conflict
constructor
A new instance of Conflict.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(error:) ⇒ Conflict
Returns a new instance of Conflict.
19 20 21 |
# File 'lib/open_api_sdk/models/errors/conflict.rb', line 19 def initialize(error:) @error = error end |
Instance Method Details
#==(other) ⇒ Object
24 25 26 27 28 |
# File 'lib/open_api_sdk/models/errors/conflict.rb', line 24 def ==(other) return false unless other.is_a? self.class return false unless @error == other.error true end |