Sha256: ec6c182c1974659116cd86fbfe93412d669865a8c69bc049d3c033c72634e575

Contents?: true

Size: 526 Bytes

Versions: 3

Compression:

Stored size: 526 Bytes

Contents

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

        # @param body [String]
        # @return [void]
        def create_comment(body) # rubocop:disable Lint/UnusedMethodArgument
          raise NotImplementedError
        end

        private

        attr_reader :token
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
circleci-coverage_reporter-0.8.0 lib/circleci/coverage_reporter/vcs/base.rb
circleci-coverage_reporter-0.7.0 lib/circleci/coverage_reporter/vcs/base.rb
circleci-coverage_reporter-0.6.0 lib/circleci/coverage_reporter/vcs/base.rb