Sha256: ee841cbd49b27cb3810d899254b489338b99aaf232390fc424f16ed810a03153
Contents?: true
Size: 494 Bytes
Versions: 13
Compression:
Stored size: 494 Bytes
Contents
# frozen_string_literal: true module Pennyworth module CLI module Actions # Handles the encodings action. class Encodings include Pennyworth::Import[:logger] def initialize processor: Processor.for_encodings, **dependencies super(**dependencies) @processor = processor end def call = processor.call.to_json.then { |json| logger.info { json } } private attr_reader :processor end end end end
Version data entries
13 entries across 13 versions & 1 rubygems