Class: FastpixApiSDK::Models::Errors::NotFoundError
- Inherits:
-
Object
- Object
- FastpixApiSDK::Models::Errors::NotFoundError
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_api_sdk/models/errors/notfounderror.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(success: nil, error: nil) ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(success: nil, error: nil) ⇒ NotFoundError
Returns a new instance of NotFoundError.
22 23 24 25 |
# File 'lib/fastpix_api_sdk/models/errors/notfounderror.rb', line 22 def initialize(success: nil, error: nil) @success = success @error = error end |
Instance Method Details
#==(other) ⇒ Object
28 29 30 31 32 33 |
# File 'lib/fastpix_api_sdk/models/errors/notfounderror.rb', line 28 def ==(other) return false unless other.is_a? self.class return false unless @success == other.success return false unless @error == other.error true end |