Class: HtmlToMarkdown::StructuredData

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ StructuredData

Returns a new instance of StructuredData.

Parameters:

  • data_type: (enum_StructuredDataType)
  • raw_json: (String)
  • schema_type: (String)


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

def initialize: (data_type: enum_StructuredDataType, raw_json: String, ?schema_type: String) -> void

Instance Attribute Details

#data_type ⇒ enum_StructuredDataType (readonly)

Returns the value of attribute data_type.

Returns:

  • (enum_StructuredDataType)


263
264
265
# File 'sig/types.rbs', line 263

def data_type
  @data_type
end

#raw_json ⇒ String (readonly)

Returns the value of attribute raw_json.

Returns:

  • (String)


264
265
266
# File 'sig/types.rbs', line 264

def raw_json
  @raw_json
end

#schema_type ⇒ String? (readonly)

Returns the value of attribute schema_type.

Returns:

  • (String, nil)


265
266
267
# File 'sig/types.rbs', line 265

def schema_type
  @schema_type
end