class Github::Repos::Forks

def create(*args)


"organization" => "github"
github.repos.forks.create 'user-name', 'repo-name',
github = Github.new
= Examples

* :organization - Optional string - the name of the service that is being called.
= Inputs

Create a fork for the authenticated user
def create(*args)
  arguments(args, :required => [:user, :repo])
  post_request("/repos/#{user}/#{repo}/forks", arguments.params)
end

def list(*args)


github.repos.forks.list 'user-name', 'repo-name' { |fork| ... }
github.repos.forks.list 'user-name', 'repo-name'
github = Github.new
= Examples

* :sort - newest, oldest, watchers, default: newest
= Parameters

List repository forks
def list(*args)
  arguments(args, :required => [:user, :repo])
  response = get_request("/repos/#{user}/#{repo}/forks", arguments.params)
  return response unless block_given?
  response.each { |el| yield el }
end