class GHArchive::PullRequestReviewCommentEvent

Public Class Methods

fits?(json) click to toggle source
# File lib/gh-archive/events.rb, line 140
def self.fits?(json)
    return json['type'] == "PullRequestReviewCommentEvent"
end

Public Instance Methods

action() click to toggle source
# File lib/gh-archive/events.rb, line 144
def action
    @payload['action']
end
comment() click to toggle source
# File lib/gh-archive/events.rb, line 156
def comment
    PullRequestComment.new(@payload['comment'])
end
number() click to toggle source
# File lib/gh-archive/events.rb, line 148
def number
    @payload['number']
end
pull_request() click to toggle source
# File lib/gh-archive/events.rb, line 152
def pull_request
    PullRequest.new(@payload['pull_request'])
end