Sha256: c42edca9b35e47aaed225be9fddac2a7b1441a8b9d4838bbe73fb8e51da8e5cf

Contents?: true

Size: 942 Bytes

Versions: 3

Compression:

Stored size: 942 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Watching < API

    class << self

      def list(user, repo, params, options)
        output options do
          github_api(options).activity.watching.list user, repo, params
        end
      end

      def watched(params, options)
        output options do
          github_api(options).activity.watching.watched params
        end
      end

      def watching?(user, repo, params, options)
        output options do
          github_api(options).activity.watching.watching? user, repo, params
        end
      end

      def start(user, repo, params, options)
        output options do
          github_api(options).activity.watching.watch user, repo, params
        end
      end

      def stop(user, repo, params, options)
        output options do
          github_api(options).activity.watching.unwatch user, repo, params
        end
      end
    end

  end # Watching
end # GithubCLI

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
github_cli-0.6.2 lib/github_cli/apis/watching.rb
github_cli-0.6.1 lib/github_cli/apis/watching.rb
github_cli-0.6.0 lib/github_cli/apis/watching.rb