Sha256: fcd91480ff4732a4d0b2d8da0ce17f9e0a65abf0b38ed4e7a599d98cd6d88883

Contents?: true

Size: 434 Bytes

Versions: 5

Compression:

Stored size: 434 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
      # @see http://developer.github.com/v3/repos/hooks/#services
      # @example List all hooks
      #   Octokit.available_hooks
      def available_hooks(options = {})
        get "hooks", options
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
octokit-3.0.0 lib/octokit/client/hooks.rb
octokit-3.0.0.pre lib/octokit/client/hooks.rb
octokit-2.7.2 lib/octokit/client/hooks.rb
octokit-2.7.1 lib/octokit/client/hooks.rb
octokit-2.7.0 lib/octokit/client/hooks.rb