Sha256: 92bec1adc4731a514ca2573f3902dd243541de5ebb4eed27017a1be721ddc094

Contents?: true

Size: 411 Bytes

Versions: 1

Compression:

Stored size: 411 Bytes

Contents

module Lita::Extensions
  module GitHubWebHooksCore
    module Hooks
      class PageBuild < Hook
        include Lita::Extensions::GitHubWebHooksCore::Hooks::RepoHooks
        def status
          payload["build"]["status"]
        end
        def attributes
          {
            status: status,
            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/page_build.rb