Class: Reeve::Invocation::NullRecorder
- Inherits:
-
Object
- Object
- Reeve::Invocation::NullRecorder
- Defined in:
- lib/reeve/invocation.rb
Overview
Constitution II: a failure to record is a failure of the call. With no ledger configured there is nothing to fail into, so this refuses rather than no-ops.
Instance Method Summary collapse
Instance Method Details
#record(_attributes) ⇒ Object
43 44 45 |
# File 'lib/reeve/invocation.rb', line 43 def record(_attributes) raise Error, "no audit recorder is configured (run `rails g reeve:install`)" end |