Class: Assistant::TechnicalSupport::ResponseGroundingGate::Result
- Inherits:
-
Data
- Object
- Data
- Assistant::TechnicalSupport::ResponseGroundingGate::Result
- Defined in:
- app/services/assistant/technical_support/response_grounding_gate.rb
Instance Attribute Summary collapse
-
#applicable ⇒ Object
readonly
Returns the value of attribute applicable.
-
#assessment ⇒ Object
readonly
Returns the value of attribute assessment.
-
#assistant_message ⇒ Object
readonly
Returns the value of attribute assistant_message.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#applicable? ⇒ Boolean?
Reports whether the gate applies to this Sunny turn.
-
#initialize(applicable: nil, status: nil, assistant_message: nil, assessment: {}) ⇒ Result
constructor
Builds an immutable gate result.
Constructor Details
#initialize(applicable: nil, status: nil, assistant_message: nil, assessment: {}) ⇒ Result
Builds an immutable gate result.
29 |
# File 'app/services/assistant/technical_support/response_grounding_gate.rb', line 29 def initialize(applicable: nil, status: nil, assistant_message: nil, assessment: {}) = super |
Instance Attribute Details
#applicable ⇒ Object (readonly)
Returns the value of attribute applicable
22 23 24 |
# File 'app/services/assistant/technical_support/response_grounding_gate.rb', line 22 def applicable @applicable end |
#assessment ⇒ Object (readonly)
Returns the value of attribute assessment
22 23 24 |
# File 'app/services/assistant/technical_support/response_grounding_gate.rb', line 22 def assessment @assessment end |
#assistant_message ⇒ Object (readonly)
Returns the value of attribute assistant_message
22 23 24 |
# File 'app/services/assistant/technical_support/response_grounding_gate.rb', line 22 def @assistant_message end |
#status ⇒ Object (readonly)
Returns the value of attribute status
22 23 24 |
# File 'app/services/assistant/technical_support/response_grounding_gate.rb', line 22 def status @status end |
Instance Method Details
#applicable? ⇒ Boolean?
Reports whether the gate applies to this Sunny turn.
34 |
# File 'app/services/assistant/technical_support/response_grounding_gate.rb', line 34 def applicable? = applicable |