Class: Unstructured::Chunk

Inherits:
Object
  • Object
show all
Defined in:
lib/unstructured/objects/chunk.rb

Instance Attribute Summary

Attributes inherited from Object

#attributes, #raw_data

Class Method Summary collapse

Methods inherited from Object

#initialize, #method_missing, #respond_to_missing?, #to_h

Constructor Details

This class inherits a constructor from Unstructured::Object

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Unstructured::Object

Class Method Details

.from_response(response) ⇒ Object



5
6
7
# File 'lib/unstructured/objects/chunk.rb', line 5

def self.from_response(response)
  new(response)
end