Sha256: 110cf9a6969e9497df1c1103c9c91ccbab02e7b2c2e28fd874b6d826609afeec

Contents?: true

Size: 433 Bytes

Versions: 3

Compression:

Stored size: 433 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Fork < API

    class << self

      def all(user, repo, params, options)
        output options do
          github_api(options).repos.forks.list user, repo, params
        end
      end

      def create(user, repo, params, options)
        output options do
          github_api(options).repos.forks.create user, repo, params
        end
      end
    end

  end # Fork
end # GithubCLI

Version data entries

3 entries across 3 versions & 1 rubygems

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