Sha256: 8e93485ebb83ea926cb9892175a8ef099fd50ff61e8212dc8fa82218453b32bf
Contents?: true
Size: 867 Bytes
Versions: 1
Compression:
Stored size: 867 Bytes
Contents
module Lita::Extensions module GitHubWebHooksCore module Hooks class Deployment < Hook include Lita::Extensions::GitHubWebHooksCore::Hooks::RepoHooks def sha deploy["sha"] end def environment deploy["environment"] end def start_time deploy["created_at"] end def deploy payload["deployment"] end def deployer payload["sender"]["login"] end def ref deploy["ref"] end def attributes { sha: sha, ref: ref, repo: repo, environment: environment, start_time: start_time, deploy: deploy, deployer: deployer } 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/deployment.rb |