Sha256: 8aeb2b09ee61fa0fa4d3540a31af20d3562ce970194875570e7597b80ce9205e
Contents?: true
Size: 515 Bytes
Versions: 1
Compression:
Stored size: 515 Bytes
Contents
module Lita::Extensions module GitHubWebHooksCore module Hooks class Member < Hook include Lita::Extensions::GitHubWebHooksCore::Hooks::RepoHooks def admin payload["sender"]["login"] end def addition payload["member"]["login"] end def attributes { admin: admin, addition: addition, 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/member.rb |