class GHArchive::IssueCommentEvent
Public Class Methods
fits?(json)
click to toggle source
# File lib/gh-archive/events.rb, line 176 def self.fits?(json) return json['type'] == "IssueCommentEvent" end
Public Instance Methods
action()
click to toggle source
# File lib/gh-archive/events.rb, line 180 def action @payload['action'] end
issue()
click to toggle source
# File lib/gh-archive/events.rb, line 184 def issue Issue.new(@payload['issue']) end