Sha256: feaba11fb9898abf8d01731a088c26d3154b3df9b989ae03a47d29ce6c98cddd
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 GitHub action. class GitHub include Pennyworth::Import[:logger] def initialize processor: Processor.for_projects, **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