Sha256: 1002369337df460d54e4bdd18be8390c3f3586c76ad41643c2b56cb718459b0f

Contents?: true

Size: 368 Bytes

Versions: 4

Compression:

Stored size: 368 Bytes

Contents

module Octokit
  class Client

    # Methods for the Hooks API
    module Hooks

      # List all Service Hooks supported by GitHub
      #
      # @return [Sawyer::Resource] A list of all hooks on GitHub
      # @example List all hooks
      #   Octokit.available_hooks
      def available_hooks(options = {})
        get "hooks", options
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
octokit-2.6.3 lib/octokit/client/hooks.rb
octokit-2.6.2 lib/octokit/client/hooks.rb
octokit-2.6.1 lib/octokit/client/hooks.rb
octokit-2.6.0 lib/octokit/client/hooks.rb