Class: Datacentred::Request::Versions
- Defined in:
- lib/datacentred/request/versions.rb
Overview
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.
Class Method Summary collapse
-
.list ⇒ [Hash]
List all available API versions.
Methods inherited from Base
Class Method Details
.list ⇒ [Hash]
List all available API versions
GET /api
17 18 19 |
# File 'lib/datacentred/request/versions.rb', line 17 def self.list get("/api")['versions'] end |