Class: Gitabu::Api::V3::Releases
- Inherits:
-
Object
- Object
- Gitabu::Api::V3::Releases
- Defined in:
- lib/gitabu/api/v3/releases.rb
Overview
Releases endpoints.
Class Method Summary collapse
- .create_a_release(owner: nil, repo: nil, tag_name: nil, target_commitish: nil, name: nil, body: nil, draft: nil, prerelease: nil, discussion_category_name: nil, generate_release_notes: nil, options: nil) ⇒ Object
- .delete_a_release(owner: nil, repo: nil, release_id: nil, options: nil) ⇒ Object
- .delete_a_release_asset(owner: nil, repo: nil, asset_id: nil, options: nil) ⇒ Object
- .generate_release_notes_content_for_a_release(owner: nil, repo: nil, tag_name: nil, target_commitish: nil, previous_tag_name: nil, configuration_file_path: nil, options: nil) ⇒ Object
- .get_a_release(owner: nil, repo: nil, release_id: nil, options: nil) ⇒ Object
- .get_a_release_asset(owner: nil, repo: nil, asset_id: nil, options: nil) ⇒ Object
- .get_a_release_by_tag_name(owner: nil, repo: nil, tag: nil, options: nil) ⇒ Object
- .get_the_latest_release(owner: nil, repo: nil, options: nil) ⇒ Object
- .list_release_assets(owner: nil, repo: nil, release_id: nil, options: nil) ⇒ Object
- .list_releases(owner: nil, repo: nil, options: nil) ⇒ Object
- .update_a_release(owner: nil, repo: nil, release_id: nil, tag_name: nil, target_commitish: nil, name: nil, body: nil, draft: nil, prerelease: nil, discussion_category_name: nil, options: nil) ⇒ Object
- .update_a_release_asset(owner: nil, repo: nil, asset_id: nil, name: nil, label: nil, state: nil, options: nil) ⇒ Object
- .upload_a_release_asset(owner: nil, repo: nil, release_id: nil, options: nil) ⇒ Object
Class Method Details
.create_a_release(owner: nil, repo: nil, tag_name: nil, target_commitish: nil, name: nil, body: nil, draft: nil, prerelease: nil, discussion_category_name: nil, generate_release_notes: nil, options: nil) ⇒ Object
42 43 44 |
# File 'lib/gitabu/api/v3/releases.rb', line 42 def self.create_a_release(owner: nil, repo: nil, tag_name: nil, target_commitish: nil, name: nil, body: nil, draft: nil, prerelease: nil, discussion_category_name: nil, generate_release_notes: nil, options: nil) new.create_a_release(owner, repo, tag_name, target_commitish, name, body, draft, prerelease, discussion_category_name, generate_release_notes, ) end |
.delete_a_release(owner: nil, repo: nil, release_id: nil, options: nil) ⇒ Object
66 67 68 |
# File 'lib/gitabu/api/v3/releases.rb', line 66 def self.delete_a_release(owner: nil, repo: nil, release_id: nil, options: nil) new.delete_a_release(owner, repo, release_id, ) end |
.delete_a_release_asset(owner: nil, repo: nil, asset_id: nil, options: nil) ⇒ Object
78 79 80 |
# File 'lib/gitabu/api/v3/releases.rb', line 78 def self.delete_a_release_asset(owner: nil, repo: nil, asset_id: nil, options: nil) new.delete_a_release_asset(owner, repo, asset_id, ) end |
.generate_release_notes_content_for_a_release(owner: nil, repo: nil, tag_name: nil, target_commitish: nil, previous_tag_name: nil, configuration_file_path: nil, options: nil) ⇒ Object
46 47 48 |
# File 'lib/gitabu/api/v3/releases.rb', line 46 def self.generate_release_notes_content_for_a_release(owner: nil, repo: nil, tag_name: nil, target_commitish: nil, previous_tag_name: nil, configuration_file_path: nil, options: nil) new.generate_release_notes_content_for_a_release(owner, repo, tag_name, target_commitish, previous_tag_name, configuration_file_path, ) end |
.get_a_release(owner: nil, repo: nil, release_id: nil, options: nil) ⇒ Object
58 59 60 |
# File 'lib/gitabu/api/v3/releases.rb', line 58 def self.get_a_release(owner: nil, repo: nil, release_id: nil, options: nil) new.get_a_release(owner, repo, release_id, ) end |
.get_a_release_asset(owner: nil, repo: nil, asset_id: nil, options: nil) ⇒ Object
70 71 72 |
# File 'lib/gitabu/api/v3/releases.rb', line 70 def self.get_a_release_asset(owner: nil, repo: nil, asset_id: nil, options: nil) new.get_a_release_asset(owner, repo, asset_id, ) end |
.get_a_release_by_tag_name(owner: nil, repo: nil, tag: nil, options: nil) ⇒ Object
54 55 56 |
# File 'lib/gitabu/api/v3/releases.rb', line 54 def self.get_a_release_by_tag_name(owner: nil, repo: nil, tag: nil, options: nil) new.get_a_release_by_tag_name(owner, repo, tag, ) end |
.get_the_latest_release(owner: nil, repo: nil, options: nil) ⇒ Object
50 51 52 |
# File 'lib/gitabu/api/v3/releases.rb', line 50 def self.get_the_latest_release(owner: nil, repo: nil, options: nil) new.get_the_latest_release(owner, repo, ) end |
.list_release_assets(owner: nil, repo: nil, release_id: nil, options: nil) ⇒ Object
82 83 84 |
# File 'lib/gitabu/api/v3/releases.rb', line 82 def self.list_release_assets(owner: nil, repo: nil, release_id: nil, options: nil) new.list_release_assets(owner, repo, release_id, ) end |
.list_releases(owner: nil, repo: nil, options: nil) ⇒ Object
38 39 40 |
# File 'lib/gitabu/api/v3/releases.rb', line 38 def self.list_releases(owner: nil, repo: nil, options: nil) new.list_releases(owner, repo, ) end |
.update_a_release(owner: nil, repo: nil, release_id: nil, tag_name: nil, target_commitish: nil, name: nil, body: nil, draft: nil, prerelease: nil, discussion_category_name: nil, options: nil) ⇒ Object
62 63 64 |
# File 'lib/gitabu/api/v3/releases.rb', line 62 def self.update_a_release(owner: nil, repo: nil, release_id: nil, tag_name: nil, target_commitish: nil, name: nil, body: nil, draft: nil, prerelease: nil, discussion_category_name: nil, options: nil) new.update_a_release(owner, repo, release_id, tag_name, target_commitish, name, body, draft, prerelease, discussion_category_name, ) end |
.update_a_release_asset(owner: nil, repo: nil, asset_id: nil, name: nil, label: nil, state: nil, options: nil) ⇒ Object
74 75 76 |
# File 'lib/gitabu/api/v3/releases.rb', line 74 def self.update_a_release_asset(owner: nil, repo: nil, asset_id: nil, name: nil, label: nil, state: nil, options: nil) new.update_a_release_asset(owner, repo, asset_id, name, label, state, ) end |
.upload_a_release_asset(owner: nil, repo: nil, release_id: nil, options: nil) ⇒ Object
86 87 88 |
# File 'lib/gitabu/api/v3/releases.rb', line 86 def self.upload_a_release_asset(owner: nil, repo: nil, release_id: nil, options: nil) new.upload_a_release_asset(owner, repo, release_id, ) end |