Class: Datacentred::Model::Version
- Defined in:
- lib/datacentred/model/version.rb
Overview
An API version currently available for use.
This method 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.
Instance Attribute Summary collapse
-
#id ⇒ Integer
The current value of id.
-
#status ⇒ String
The current value of status.
Class Method Summary collapse
-
.all ⇒ [Version]
List all available API versions.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Datacentred::Model::Base
Instance Attribute Details
#id ⇒ Integer
Returns the current value of id
14 15 16 |
# File 'lib/datacentred/model/version.rb', line 14 def id @id end |
#status ⇒ String
Returns the current value of status
14 15 16 |
# File 'lib/datacentred/model/version.rb', line 14 def status @status end |