Sha256: 126092f5b269d17894933731a8d3ff22391767f162c1b77537928642e9f7756c

Contents?: true

Size: 694 Bytes

Versions: 2

Compression:

Stored size: 694 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Watching < API

    class << self

      def watchers(user, repo, params)
        github_api.repos.watching.watchers user, repo, params
      end

      def watched(params)
        github_api.repos.watching.watched user, repo, id, params
      end

      def watching?(user, repo, params)
        github_api.repos.watching.watching? user, repo, params
      end

      def start_watching(user, repo, params)
        github_api.repos.watching.start_watching user, repo, params
      end

      def stop_watching(user, repo, params)
        github_api.repos.watching.stop_watching user, repo, params
      end
    end

  end # Watching
end # GithubCLI

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
github_cli-0.2.1 lib/github_cli/apis/watching.rb
github_cli-0.2.0 lib/github_cli/apis/watching.rb