Class: Textus::Read::Doctor
- Inherits:
-
Object
- Object
- Textus::Read::Doctor
- Defined in:
- lib/textus/read/doctor.rb
Overview
Dispatched use case for the ‘doctor` verb. The health-check report is built by the Textus::Doctor library module; this class is the uniform (container:, call:) entry point that Dispatcher::VERBS resolves to. The acting role is irrelevant to a read-only health check, so `call` is not consulted.
Instance Method Summary collapse
- #call(checks: nil) ⇒ Object
-
#initialize(container:, call:) ⇒ Doctor
constructor
A new instance of Doctor.
Constructor Details
#initialize(container:, call:) ⇒ Doctor
Returns a new instance of Doctor.
9 10 11 12 |
# File 'lib/textus/read/doctor.rb', line 9 def initialize(container:, call:) @container = container @call = call end |