Class: LiterLlm::DocumentContent

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDocumentContent

Returns a new instance of DocumentContent.

Parameters:

  • data: (String)
  • media_type: (String)


326
# File 'sig/types.rbs', line 326

def initialize: (?data: String, ?media_type: String) -> void

Instance Attribute Details

#dataString (readonly)

Returns the value of attribute data.

Returns:

  • (String)


323
324
325
# File 'sig/types.rbs', line 323

def data
  @data
end

#media_typeString (readonly)

Returns the value of attribute media_type.

Returns:

  • (String)


324
325
326
# File 'sig/types.rbs', line 324

def media_type
  @media_type
end