Sha256: c8628e0d7ee0dfe51536714806de4e72cf77e0077138486367d97250d80198e2
Contents?: true
Size: 284 Bytes
Versions: 18
Compression:
Stored size: 284 Bytes
Contents
require "github/comment_event" module Github class IssueCommentEvent < CommentEvent def initialize(payload) super comment["issue"] = payload.fetch "issue" end def type @type ||= payload["issue"]["pull_request"] ? "pull" : "issue" end end end
Version data entries
18 entries across 18 versions & 1 rubygems