Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
danger / lib / danger / ci_source / support / remote_pull_request.rb
Size: Mime:
module Danger
  class RemotePullRequest
    attr_reader :pull_request_id, :sha, :head, :base

    def initialize(pull_request_id, head, base)
      @pull_request_id = pull_request_id
      @head = head
      @base = base
    end

    def valid?
      pull_request_id && head && base
    end
  end
end