Class: Xberg::StructuredDataResult
- Inherits:
-
Object
- Object
- Xberg::StructuredDataResult
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#content ⇒ String
readonly
Returns the value of attribute content.
-
#format ⇒ String
readonly
Returns the value of attribute format.
-
#metadata ⇒ Hash[String, String]
readonly
Returns the value of attribute metadata.
-
#text_fields ⇒ Array[String]
readonly
Returns the value of attribute text_fields.
Instance Method Summary collapse
-
#initialize ⇒ StructuredDataResult
constructor
A new instance of StructuredDataResult.
Constructor Details
#initialize ⇒ StructuredDataResult
Returns a new instance of StructuredDataResult.
583 |
# File 'sig/types.rbs', line 583
def initialize: (content: String, format: String, metadata: Hash[String, String], text_fields: Array[String]) -> void
|
Instance Attribute Details
#content ⇒ String (readonly)
Returns the value of attribute content.
578 579 580 |
# File 'sig/types.rbs', line 578 def content @content end |
#format ⇒ String (readonly)
Returns the value of attribute format.
579 580 581 |
# File 'sig/types.rbs', line 579 def format @format end |
#metadata ⇒ Hash[String, String] (readonly)
Returns the value of attribute metadata.
580 581 582 |
# File 'sig/types.rbs', line 580 def @metadata end |
#text_fields ⇒ Array[String] (readonly)
Returns the value of attribute text_fields.
581 582 583 |
# File 'sig/types.rbs', line 581 def text_fields @text_fields end |