Sha256: e6245d315e25e6ae47698feb5c1f8ceb18f41fbc419d20911e9bc1fb2a545190
Contents?: true
Size: 569 Bytes
Versions: 5
Compression:
Stored size: 569 Bytes
Contents
# frozen_string_literal: true module Jiminy module Reporting module Reporters class GithubReporter < BaseReporter require "jiminy/github_apiable" include GithubAPIable def initialize(header:, body:, pr_number:) super(header: header, body: body) @pr_number = pr_number end def report! client.add_comment(env_config.repo_path, pr_number, comment_body) end private attr_reader :pr_number alias comment_body report_body end end end end
Version data entries
5 entries across 5 versions & 1 rubygems