Class: ReleaseVersionClient

Inherits:
Gitlab::Request
  • Object
show all
Defined in:
lib/gitlab_releases/release_version_client.rb

Class Method Summary collapse

Class Method Details

.versionsObject

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