Class: Copilot::UserInputResponse
- Inherits:
-
Struct
- Object
- Struct
- Copilot::UserInputResponse
- Defined in:
- lib/copilot/types.rb
Overview
Response to a user input request.
Instance Attribute Summary collapse
-
#answer ⇒ Object
Returns the value of attribute answer.
-
#was_freeform ⇒ Object
Returns the value of attribute was_freeform.
Instance Method Summary collapse
Instance Attribute Details
#answer ⇒ Object
Returns the value of attribute answer
306 307 308 |
# File 'lib/copilot/types.rb', line 306 def answer @answer end |
#was_freeform ⇒ Object
Returns the value of attribute was_freeform
306 307 308 |
# File 'lib/copilot/types.rb', line 306 def was_freeform @was_freeform end |
Instance Method Details
#to_h ⇒ Object
307 308 309 |
# File 'lib/copilot/types.rb', line 307 def to_h { answer: answer, wasFreeform: was_freeform } end |