Sha256: cdb60eeecb7f4fd24eb24ef6bc4d28d7b40b66c21ad4258bdac6d35c8845e7f4

Contents?: true

Size: 415 Bytes

Versions: 1

Compression:

Stored size: 415 Bytes

Contents

module Lita::Extensions
  module GitHubWebHooksCore
    module Hooks
      class Repository < Hook
        include Lita::Extensions::GitHubWebHooksCore::Hooks::RepoHooks
        def creator
          payload["sender"]["login"]
        end
        def attributes
          {
            creator: creator,
            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/repository.rb