Sha256: 74eb912c7a3b46d81d975055c76ee6ab4c099c89b415f187764f79cb864eb878

Contents?: true

Size: 435 Bytes

Versions: 11

Compression:

Stored size: 435 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 https://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

11 entries across 11 versions & 1 rubygems

Version Path
octokit-3.6.1 lib/octokit/client/hooks.rb
octokit-3.6.0 lib/octokit/client/hooks.rb
octokit-3.5.2 lib/octokit/client/hooks.rb
octokit-3.4.2 lib/octokit/client/hooks.rb
octokit-3.4.1 lib/octokit/client/hooks.rb
octokit-3.4.0 lib/octokit/client/hooks.rb
octokit-3.3.1 lib/octokit/client/hooks.rb
octokit-3.3.0 lib/octokit/client/hooks.rb
octokit-3.2.0 lib/octokit/client/hooks.rb
octokit-3.1.2 lib/octokit/client/hooks.rb
octokit-3.1.0 lib/octokit/client/hooks.rb