Class: Kreuzberg::EnrichStatusFailed
- Inherits:
-
Data
- Object
- Data
- Kreuzberg::EnrichStatusFailed
- Extended by:
- T::Sig
- Includes:
- EnrichStatus
- Defined in:
- lib/kreuzberg/native.rb
Overview
Processing failed.
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
4008 4009 4010 |
# File 'lib/kreuzberg/native.rb', line 4008 def error @error end |
Class Method Details
.from_hash(hash) ⇒ Object
4024 4025 4026 |
# File 'lib/kreuzberg/native.rb', line 4024 def self.from_hash(hash) new(error: hash[:error] || hash["error"]) end |
Instance Method Details
#completed? ⇒ Boolean
4018 |
# File 'lib/kreuzberg/native.rb', line 4018 def completed? = false |
#failed? ⇒ Boolean
4020 4021 4022 |
# File 'lib/kreuzberg/native.rb', line 4020 def failed? = true # @param hash [Hash] deserialized from the native extension # @return [self] |
#pending? ⇒ Boolean
4016 |
# File 'lib/kreuzberg/native.rb', line 4016 def pending? = false |