Class: Protege::Orchestrator::ReplyContext
- Defined in:
- lib/protege/orchestrator/reply_context.rb
Overview
Context for a reactive run — one driven by an inbound email. Adds the message to the shared
Context surface so tools and resolvers can reach the email being answered (its thread, sender,
body, attachments). The #responsibility accessor inherited from Context stays nil.
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
The inbound message being processed.
Attributes inherited from Context
#config, #correlation_id, #logger, #persona
Instance Method Summary collapse
- #initialize(persona:, message:) ⇒ void constructor
Methods inherited from Context
Constructor Details
#initialize(persona:, message:) ⇒ void
15 16 17 18 |
# File 'lib/protege/orchestrator/reply_context.rb', line 15 def initialize(persona:, message:) @message = super(persona:) end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the inbound message being processed.
10 11 12 |
# File 'lib/protege/orchestrator/reply_context.rb', line 10 def @message end |