Sha256: a2acbb572bc615778ac15eb893a5982e740d6d4d33794bab9d8fc032824725ac
Contents?: true
Size: 779 Bytes
Versions: 13
Compression:
Stored size: 779 Bytes
Contents
# frozen_string_literal: true require_relative "../base" module Neetob class CLI module Github module Repositories class PullRequests < Base attr_accessor :repos, :sandbox def initialize(repos, sandbox = false) super() @repos = repos @sandbox = sandbox end def run matching_repos = find_all_matching_apps_or_repos(repos, :github, sandbox) data = [] matching_repos.each do |repo| begin data << client.pull_requests(repo) rescue StandardError => e ExceptionHandler.new(e).process end end data end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems