Sha256: 48a23af54645ba5f287b427e1f7d7533ad486bd4bb7017b71811db15e1b4d0ce

Contents?: true

Size: 969 Bytes

Versions: 2

Compression:

Stored size: 969 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Repository < API

    class << self

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

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

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

      def edit(user, repo, params)
        github_api.repos.edit 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

2 entries across 2 versions & 1 rubygems

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