Sha256: 2429e63e7ffb66291eac66faeb70602e529392a212d423dfc29b3d6887524c4e
Contents?: true
Size: 460 Bytes
Versions: 11
Compression:
Stored size: 460 Bytes
Contents
module Pronto class Client def initialize(repo) @repo = repo @config = Config.new @comment_cache = {} @pull_id_cache = {} end def env_pull_id if (pull_request = ENV['PULL_REQUEST_ID']) warn "[DEPRECATION] `PULL_REQUEST_ID` is deprecated. Please use `PRONTO_PULL_REQUEST_ID` instead." end pull_request ||= ENV['PRONTO_PULL_REQUEST_ID'] pull_request.to_i if pull_request end end end
Version data entries
11 entries across 11 versions & 1 rubygems