lib/pennyworth/cli/actions/http_statuses.rb in pennyworth-14.1.1 vs lib/pennyworth/cli/actions/http_statuses.rb in pennyworth-14.1.2
- old
+ new
@@ -5,11 +5,11 @@
module Actions
# Handles the HTTP statuses action.
class HTTPStatuses
include Pennyworth::Import[:logger]
- def initialize processor: Processor.for_http_statuses, **dependencies
- super(**dependencies)
+ def initialize(processor: Processor.for_http_statuses, **)
+ super(**)
@processor = processor
end
def call = processor.call.to_json.then { |json| logger.info { json } }