Sha256: c03fae35161ec23a11e46a91260953617bee49530ccd477c4641d48345d34c7f

Contents?: true

Size: 428 Bytes

Versions: 1

Compression:

Stored size: 428 Bytes

Contents

module Lita::Extensions
  module GitHubWebHooksCore
    module Hooks
      class Watch < Hook
        
        include Lita::Extensions::GitHubWebHooksCore::Hooks::RepoHooks        

        def user
          payload["sender"]["login"]
        end
        
        def attributes
          {
            user: user,
            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/watch.rb