Sha256: 703edcbbb632683f750070a31403b985f3d6b8c8fdbb8c9383c2578414c07647
Contents?: true
Size: 621 Bytes
Versions: 1
Compression:
Stored size: 621 Bytes
Contents
module Lita::Extensions module GitHubWebHooksCore module Hooks class Create < Hook include Lita::Extensions::GitHubWebHooksCore::Hooks::RepoHooks def creator payload["sender"]["login"] end def creation payload["ref_type"] end def creation_name payload["ref"] end def attributes { creator: creator, creation: creation, creation_name: creation_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/create.rb |