lib/circleci/coverage_reporter/vcs/base.rb
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