class Github::Client::Repos::Pages
are public.
can only be accessed by authenticated owners, even though the websites
and the statuses of your builds. Information about the site and the builds
The Pages API retrieves information about your GitHub Pages configuration,
def get(*args)
- Api: - public
def get(*args) arguments(args, required: [:owner, :repo]) get_request("/repos/#{arguments.owner}/#{arguments.repo}/pages", arguments.params) end
def list(*args)
- Api: - public
def list(*args) arguments(args, required: [:owner, :repo]) response = if args.map(&:to_s).include?('latest') get_request("/repos/#{arguments.owner}/#{arguments.repo}/pages/builds/latest", arguments.params) else get_request("/repos/#{arguments.owner}/#{arguments.repo}/pages/builds", arguments.params) end return response unless block_given? response.each { |el| yield el } end