Class: Copilot::ContentBlock
- Inherits:
-
Struct
- Object
- Struct
- Copilot::ContentBlock
- Defined in:
- lib/copilot/types.rb
Overview
A content block in a mixed text+image response.
Instance Attribute Summary collapse
-
#image ⇒ Object
Returns the value of attribute image.
-
#text ⇒ Object
Returns the value of attribute text.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#image ⇒ Object
Returns the value of attribute image
324 325 326 |
# File 'lib/copilot/types.rb', line 324 def image @image end |
#text ⇒ Object
Returns the value of attribute text
324 325 326 |
# File 'lib/copilot/types.rb', line 324 def text @text end |
#type ⇒ Object
Returns the value of attribute type
324 325 326 |
# File 'lib/copilot/types.rb', line 324 def type @type end |