Sha256: e98917e2641f1d20ad01099edbae0b7fddaeed49510864843d7d1365cbd75871
Contents?: true
Size: 477 Bytes
Versions: 37
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true module Pennyworth module Loaders # Loads projects from API requests for further processing. class Projects def self.for_git_hub = new(client: Integrations::GitHub::Client.new) def self.for_ruby_gems = new(client: Integrations::RubyGems::Client.new) def initialize client: @client = client end def call(endpoint) = client.get(endpoint) private attr_reader :client end end end
Version data entries
37 entries across 37 versions & 1 rubygems