Class: Terret::Subagents::Result
- Inherits:
-
Data
- Object
- Data
- Terret::Subagents::Result
- Defined in:
- lib/terret/subagents.rb
Overview
status is the child's TURN status — :completed, :cancelled, :rejected
or :empty (a failure raises instead). A caller rendering the child's text
needs it to tell "had nothing to say" from "was stopped", and re-reading
the child's log for a fact the turn already returned is a worse seam.
Instance Attribute Summary collapse
-
#session_id ⇒ Object
readonly
Returns the value of attribute session_id.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
-
#usage ⇒ Object
readonly
Returns the value of attribute usage.
Instance Attribute Details
#session_id ⇒ Object (readonly)
Returns the value of attribute session_id
30 31 32 |
# File 'lib/terret/subagents.rb', line 30 def session_id @session_id end |
#status ⇒ Object (readonly)
Returns the value of attribute status
30 31 32 |
# File 'lib/terret/subagents.rb', line 30 def status @status end |
#text ⇒ Object (readonly)
Returns the value of attribute text
30 31 32 |
# File 'lib/terret/subagents.rb', line 30 def text @text end |
#usage ⇒ Object (readonly)
Returns the value of attribute usage
30 31 32 |
# File 'lib/terret/subagents.rb', line 30 def usage @usage end |