Sha256: cc20857fa6022d13c8288cdc800badf814ce0e989ec5a3a2ab8ff40e14799bfd
Contents?: true
Size: 938 Bytes
Versions: 1
Compression:
Stored size: 938 Bytes
Contents
module Lita::Extensions module GitHubWebHooksCore module Hooks class IssueComment < Hook include Lita::Extensions::GitHubWebHooksCore::Hooks::RepoHooks def body comment["body"] end def comment payload["comment"] end def commenter payload["sender"]["login"] end def url comment["html_url"] end def issue payload["issue"] end def number issue["number"] end def target issue["title"] end def attributes { body: body, comment: comment, commenter: commenter, number: number, repo: repo, url: url, issue: issue, target: target } end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lita-github-web-hooks-core-1.0.0 | lib/lita/extensions/github_web_hooks_core/hooks/issue_comment.rb |