Class: Kreuzberg::EnrichStatusCompleted
- Inherits:
-
Data
- Object
- Data
- Kreuzberg::EnrichStatusCompleted
- Extended by:
- T::Sig
- Includes:
- EnrichStatus
- Defined in:
- lib/kreuzberg/native.rb
Overview
Processing completed successfully.
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#result ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
3987 3988 3989 |
# File 'lib/kreuzberg/native.rb', line 3987 def result @result end |
Class Method Details
.from_hash(hash) ⇒ Object
4003 4004 4005 |
# File 'lib/kreuzberg/native.rb', line 4003 def self.from_hash(hash) new(result: hash[:result] || hash["result"]) end |
Instance Method Details
#completed? ⇒ Boolean
3997 |
# File 'lib/kreuzberg/native.rb', line 3997 def completed? = true |
#failed? ⇒ Boolean
3999 4000 4001 |
# File 'lib/kreuzberg/native.rb', line 3999 def failed? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#pending? ⇒ Boolean
3995 |
# File 'lib/kreuzberg/native.rb', line 3995 def pending? = false |