Module: Bugsnag::Api::Client::Releases
- Included in:
- Bugsnag::Api::Client
- Defined in:
- lib/bugsnag/api/client/releases.rb
Overview
Methods for the Releases API
Instance Method Summary collapse
-
#release(project_id, release_id, options = {}) ⇒ Object
View a single Release.
-
#releases(project_id, options = {}) ⇒ Array<Sawyer::Resource>
List the Releases in a Project.
-
#releases_in_group(release_group_id, options = {}) ⇒ Array<Sawyer::Resource>
List the Releases in a Release Group.
Instance Method Details
#release(project_id, release_id, options = {}) ⇒ Object
View a single Release
22 23 24 |
# File 'lib/bugsnag/api/client/releases.rb', line 22 def release(project_id, release_id, = {}) get "projects/#{project_id}/releases/#{release_id}", end |
#releases(project_id, options = {}) ⇒ Array<Sawyer::Resource>
List the Releases in a Project
15 16 17 |
# File 'lib/bugsnag/api/client/releases.rb', line 15 def releases(project_id, = {}) get "projects/#{project_id}/releases", end |
#releases_in_group(release_group_id, options = {}) ⇒ Array<Sawyer::Resource>
List the Releases in a Release Group
32 33 34 |
# File 'lib/bugsnag/api/client/releases.rb', line 32 def releases_in_group(release_group_id, = {}) get "release_groups/#{release_group_id}/releases", end |