class Danger::RemotePullRequest
Attributes
base[R]
head[R]
pull_request_id[R]
sha[R]
Public Class Methods
new(pull_request_id, head, base)
click to toggle source
# File lib/danger/ci_source/support/remote_pull_request.rb, line 5 def initialize(pull_request_id, head, base) @pull_request_id = pull_request_id @head = head @base = base end
Public Instance Methods
valid?()
click to toggle source
# File lib/danger/ci_source/support/remote_pull_request.rb, line 11 def valid? pull_request_id && head && base end