Sha256: b7db7678a1ea035f5064b33a1c41eacf6ff199d345f0acee3f9e959a2a4e9875
Contents?: true
Size: 508 Bytes
Versions: 1
Compression:
Stored size: 508 Bytes
Contents
module Lita::Extensions module GitHubWebHooksCore module Hooks class TeamAdd < Hook include Lita::Extensions::GitHubWebHooksCore::Hooks::RepoHooks def org payload["organization"]["login"] end def team_name payload["team"]["name"] end def attributes { org: org, team_name: team_name, 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/team_add.rb |