class Datacentred::Request::Versions
RESTful API requests for the versions endpoint.
This model does not require authentication.
An API version may be:
-
CURRENT - The latest supported version.
-
SUPPORTED - A supported older version.
-
DEPRECATED - Currently supported but soon to be retired.
Public Class Methods
list()
click to toggle source
List all available API versions
GET /api
@return [[Hash]] Currently available versions of the API.
# File lib/datacentred/request/versions.rb, line 17 def self.list get("/api")['versions'] end