Sha256: 116be6425125e903592e55f16a3fcf3d8dd3693049e6903be783a2c0a2cf0fa6

Contents?: true

Size: 501 Bytes

Versions: 5

Compression:

Stored size: 501 Bytes

Contents

module CircleCI
  module CoverageReporter
    # @abstract Subclass and override {#create_comment} to implement a custom VCS client class.
    class AbstractVCSClient
      # @param token [String]
      def initialize(token)
        @token = token
      end

      # @param reports [Array<Report>]
      # @return [void]
      def create_comment(reports) # rubocop:disable Lint/UnusedMethodArgument
        raise NotImplementedError
      end

      private

      attr_reader :token
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
circleci-coverage_reporter-0.2.0 lib/circleci/coverage_reporter/abstract_vcs_client.rb
circleci-coverage_reporter-0.1.3 lib/circleci/coverage_reporter/abstract_vcs_client.rb
circleci-coverage_reporter-0.1.2 lib/circleci/coverage_reporter/abstract_vcs_client.rb
circleci-coverage_reporter-0.1.1 lib/circleci/coverage_reporter/abstract_vcs_client.rb
circleci-coverage_reporter-0.1.0 lib/circleci/coverage_reporter/abstract_vcs_client.rb