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
178 179 180 |
# File 'lib/copilot/types.rb', line 178 def answer @answer end |
#was_freeform ⇒ Object
Returns the value of attribute was_freeform
178 179 180 |
# File 'lib/copilot/types.rb', line 178 def was_freeform @was_freeform end |
Instance Method Details
#to_h ⇒ Object
179 180 181 |
# File 'lib/copilot/types.rb', line 179 def to_h { answer: answer, wasFreeform: was_freeform } end |