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