Class: Gitabu::Api::V3::Dependabot

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

Overview

Dependabot endpoints.

Class Method Summary collapse

Class Method Details

.add_selected_repository_to_an_organization_secret(org: nil, secret_name: nil, repository_id: nil, options: nil) ⇒ Object



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

def self.add_selected_repository_to_an_organization_secret(org: nil, secret_name: nil, repository_id: nil, options: nil)
  new.add_selected_repository_to_an_organization_secret(org, secret_name, repository_id, options)
end

.create_or_update_a_repository_secret(owner: nil, repo: nil, secret_name: nil, encrypted_value: nil, key_id: nil, options: nil) ⇒ Object



86
87
88
# File 'lib/gitabu/api/v3/dependabot.rb', line 86

def self.create_or_update_a_repository_secret(owner: nil, repo: nil, secret_name: nil, encrypted_value: nil, key_id: nil, options: nil)
  new.create_or_update_a_repository_secret(owner, repo, secret_name, encrypted_value, key_id, options)
end

.create_or_update_an_organization_secret(org: nil, secret_name: nil, encrypted_value: nil, key_id: nil, visibility: nil, selected_repository_ids: nil, options: nil) ⇒ Object



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

def self.create_or_update_an_organization_secret(org: nil, secret_name: nil, encrypted_value: nil, key_id: nil, visibility: nil, selected_repository_ids: nil, options: nil)
  new.create_or_update_an_organization_secret(org, secret_name, encrypted_value, key_id, visibility, selected_repository_ids, options)
end

.delete_a_repository_secret(owner: nil, repo: nil, secret_name: nil, options: nil) ⇒ Object



90
91
92
# File 'lib/gitabu/api/v3/dependabot.rb', line 90

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

.delete_an_organization_secret(org: nil, secret_name: nil, options: nil) ⇒ Object



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

def self.delete_an_organization_secret(org: nil, secret_name: nil, options: nil)
  new.delete_an_organization_secret(org, secret_name, options)
end

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



78
79
80
# File 'lib/gitabu/api/v3/dependabot.rb', line 78

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

.get_a_repository_secret(owner: nil, repo: nil, secret_name: nil, options: nil) ⇒ Object



82
83
84
# File 'lib/gitabu/api/v3/dependabot.rb', line 82

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

.get_an_organization_public_key(org: nil, options: nil) ⇒ Object



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

def self.get_an_organization_public_key(org: nil, options: nil)
  new.get_an_organization_public_key(org, options)
end

.get_an_organization_secret(org: nil, secret_name: nil, options: nil) ⇒ Object



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

def self.get_an_organization_secret(org: nil, secret_name: nil, options: nil)
  new.get_an_organization_secret(org, secret_name, options)
end

.list_organization_secrets(org: nil, options: nil) ⇒ Object



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

def self.list_organization_secrets(org: nil, options: nil)
  new.list_organization_secrets(org, options)
end

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



74
75
76
# File 'lib/gitabu/api/v3/dependabot.rb', line 74

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

.list_selected_repositories_for_an_organization_secret(org: nil, secret_name: nil, options: nil) ⇒ Object



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

def self.list_selected_repositories_for_an_organization_secret(org: nil, secret_name: nil, options: nil)
  new.list_selected_repositories_for_an_organization_secret(org, secret_name, options)
end

.remove_selected_repository_from_an_organization_secret(org: nil, secret_name: nil, repository_id: nil, options: nil) ⇒ Object



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

def self.remove_selected_repository_from_an_organization_secret(org: nil, secret_name: nil, repository_id: nil, options: nil)
  new.remove_selected_repository_from_an_organization_secret(org, secret_name, repository_id, options)
end

.set_selected_repositories_for_an_organization_secret(org: nil, secret_name: nil, selected_repository_ids: nil, options: nil) ⇒ Object



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

def self.set_selected_repositories_for_an_organization_secret(org: nil, secret_name: nil, selected_repository_ids: nil, options: nil)
  new.set_selected_repositories_for_an_organization_secret(org, secret_name, selected_repository_ids, options)
end