Class: Gitabu::Api::V3::Pages

Inherits:
Object
  • Object
show all
Defined in:
lib/gitabu/api/v3/pages.rb

Overview

Pages endpoints.

Class Method Summary collapse

Class Method Details

.create_a_github_pages_site(owner: nil, repo: nil, source: nil, options: nil) ⇒ Object



42
43
44
# File 'lib/gitabu/api/v3/pages.rb', line 42

def self.create_a_github_pages_site(owner: nil, repo: nil, source: nil, options: nil)
  new.create_a_github_pages_site(owner, repo, source, options)
end

.delete_a_github_pages_site(owner: nil, repo: nil, options: nil) ⇒ Object



50
51
52
# File 'lib/gitabu/api/v3/pages.rb', line 50

def self.delete_a_github_pages_site(owner: nil, repo: nil, options: nil)
  new.delete_a_github_pages_site(owner, repo, options)
end

.get_a_dns_health_check_for_github_pages(owner: nil, repo: nil, options: nil) ⇒ Object



70
71
72
# File 'lib/gitabu/api/v3/pages.rb', line 70

def self.get_a_dns_health_check_for_github_pages(owner: nil, repo: nil, options: nil)
  new.get_a_dns_health_check_for_github_pages(owner, repo, options)
end

.get_a_github_pages_site(owner: nil, repo: nil, options: nil) ⇒ Object



38
39
40
# File 'lib/gitabu/api/v3/pages.rb', line 38

def self.get_a_github_pages_site(owner: nil, repo: nil, options: nil)
  new.get_a_github_pages_site(owner, repo, options)
end

.get_github_pages_build(owner: nil, repo: nil, build_id: nil, options: nil) ⇒ Object



66
67
68
# File 'lib/gitabu/api/v3/pages.rb', line 66

def self.get_github_pages_build(owner: nil, repo: nil, build_id: nil, options: nil)
  new.get_github_pages_build(owner, repo, build_id, options)
end

.get_latest_pages_build(owner: nil, repo: nil, options: nil) ⇒ Object



62
63
64
# File 'lib/gitabu/api/v3/pages.rb', line 62

def self.get_latest_pages_build(owner: nil, repo: nil, options: nil)
  new.get_latest_pages_build(owner, repo, options)
end

.list_github_pages_builds(owner: nil, repo: nil, options: nil) ⇒ Object



54
55
56
# File 'lib/gitabu/api/v3/pages.rb', line 54

def self.list_github_pages_builds(owner: nil, repo: nil, options: nil)
  new.list_github_pages_builds(owner, repo, options)
end

.request_a_github_pages_build(owner: nil, repo: nil, options: nil) ⇒ Object



58
59
60
# File 'lib/gitabu/api/v3/pages.rb', line 58

def self.request_a_github_pages_build(owner: nil, repo: nil, options: nil)
  new.request_a_github_pages_build(owner, repo, options)
end

.update_information_about_a_github_pages_site(owner: nil, repo: nil, cname: nil, https_enforced: nil, public: nil, source: nil, options: nil) ⇒ Object



46
47
48
# File 'lib/gitabu/api/v3/pages.rb', line 46

def self.update_information_about_a_github_pages_site(owner: nil, repo: nil, cname: nil, https_enforced: nil, public: nil, source: nil, options: nil)
  new.update_information_about_a_github_pages_site(owner, repo, cname, https_enforced, public, source, options)
end