Sha256: 78b0f11101f7f7711be942b3cd8a59b453bea16344eb6b7ac5785ebb86737f9a
Contents?: true
Size: 775 Bytes
Versions: 1
Compression:
Stored size: 775 Bytes
Contents
module Lita::Extensions module GitHubWebHooksCore module Hooks class Issues < Hook include Lita::Extensions::GitHubWebHooksCore::Hooks::RepoHooks def creator payload["sender"]["login"] end def action payload["action"] end def number payload["issue"]["number"] end def title payload["issue"]["title"] end def url payload["issue"]["html_url"] end def attributes { creator: creator, action: action, number: number, title: title, url: url, repository: repository, repo: repo } 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/issues.rb |