Sha256: 81dc173dd1c8fd3b60a7e8c044246af6f31c7981e68423fc209385ea572db6f3
Contents?: true
Size: 565 Bytes
Versions: 9
Compression:
Stored size: 565 Bytes
Contents
# frozen_string_literal: true module Pennyworth module CLI module Actions module System # Handles the system errors action. class Errors def initialize processor: Processor.for_system_errors, container: Container @processor = processor @container = container end def call = processor.call.to_json.then { |json| logger.info json } private attr_reader :processor, :container def logger = container[__method__] end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems