Class: ReleaseVersionClient
- Inherits:
-
Gitlab::Request
- Object
- Gitlab::Request
- ReleaseVersionClient
- Defined in:
- lib/gitlab_releases/release_version_client.rb
Class Method Summary collapse
-
.versions ⇒ Object
Get the latest version information.
Class Method Details
.versions ⇒ Object
Get the latest version information
Returns an Array of Gitlab::ObjectifiedHash objects
13 14 15 |
# File 'lib/gitlab_releases/release_version_client.rb', line 13 def self.versions get('/api/v1/versions', query: { per_page: 50 }) end |