Sha256: e4a75a8f8a592cb4fc9336a45ca09147f42ad0d005a346028bdb5acc45fca337

Contents?: true

Size: 941 Bytes

Versions: 3

Compression:

Stored size: 941 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Starring < API

    class << self

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

      def starred(params, options)
        output options do
          github_api(options).activity.starring.starred params
        end
      end

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

      def star(user, repo, params, options)
        output options do
          github_api(options).activity.starring.star user, repo, params
        end
      end

      def unstar(user, repo, params, options)
        output options do
          github_api(options).activity.starring.unstar user, repo, params
        end
      end
    end

  end # Starring
end # GithubCLI

Version data entries

3 entries across 3 versions & 1 rubygems

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