Class: Travis::CLI::Gh::Signature
- Inherits:
-
RepoCommand
- Object
- RepoCommand
- Travis::CLI::Gh::Signature
- Includes:
- GitHub::Authenticated, GitHub::Hooks
- Defined in:
- lib/travis/cli/gh/signature.rb
Instance Method Summary collapse
Methods included from GitHub::Authenticated
Methods included from GitHub::Hooks
Instance Method Details
#run ⇒ Object
9 10 11 12 |
# File 'lib/travis/cli/gh/signature.rb', line 9 def run signature = Digest::SHA2.hexdigest(repository.slug + travis_hook["config"]["token"]) say signature, "Signature used for #{repository.slug} web hooks: %s" end |