Sha256: 5ad6e8a3684e9f491bc980cb4daf00e30552f2bbe043bc8b5b0e72da6564219c
Contents?: true
Size: 543 Bytes
Versions: 3
Compression:
Stored size: 543 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, **) super(**) @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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pennyworth-14.2.1 | lib/pennyworth/cli/actions/git_hub.rb |
pennyworth-14.2.0 | lib/pennyworth/cli/actions/git_hub.rb |
pennyworth-14.1.2 | lib/pennyworth/cli/actions/git_hub.rb |