Sha256: 6fb5d36a4f3f7765d4119b0d6e92b60a1f4c36860469be77c5e8f7e6ff8adfd9

Contents?: true

Size: 990 Bytes

Versions: 1

Compression:

Stored size: 990 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Repository < API

    class << self

      def all(params)
        github_api.repos.repos(params)
      end

      def get(user, repo, params)
        github_api.repos.get_repo user, repo, params
      end

      def create(user, repo, params)
        github_api.repos.create_repo user, repo, params
      end

      def edit
        github_api.repos.edit_repo user, repo, params
      end

      def branches(user, repo, params)
        github_api.repos.branches user, repo, params
      end

      def contributors(user, repo, params)
        github_api.repos.contributors user, repo, params
      end

      def languages(user, repo, params)
        github_api.repos.languages user, repo, params
      end

      def tags(user, repo, params)
        github_api.repos.tags user, repo, params
      end

      def teams(user, repo, params)
        github_api.repos.teams user, repo, params
      end

    end

  end # Repository
end # GithubCLI

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
github_cli-0.1.3 lib/github_cli/apis/repository.rb