lib/pennyworth/cli/actions/http_statuses.rb in pennyworth-14.2.1 vs lib/pennyworth/cli/actions/http_statuses.rb in pennyworth-14.3.0
- old
+ new
@@ -3,17 +3,17 @@
module Pennyworth
module CLI
module Actions
# Handles the HTTP statuses action.
class HTTPStatuses
- include Pennyworth::Import[:logger]
+ include Pennyworth::Import[:kernel]
def initialize(processor: Processor.for_http_statuses, **)
super(**)
@processor = processor
end
- def call = processor.call.to_json.then { |json| logger.info { json } }
+ def call = kernel.puts processor.call.to_json
private
attr_reader :processor
end