Sha256: 534bce3aa600a0a1a62663abba581d4b866c3018cadfa6560ea4f222ecc5e290
Contents?: true
Size: 575 Bytes
Versions: 1
Compression:
Stored size: 575 Bytes
Contents
module Lita::Extensions module GitHubWebHooksCore module Hooks class Membership < Hook def admin payload["sender"]["login"] end def addition payload["member"]["login"] end def org payload["organization"]["login"] end def team_name payload["team"]["name"] end def attributes { admin: admin, addition: addition, org: org, team_name: team_name } 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/membership.rb |