Class: Nomad::Region
Instance Attribute Summary
Attributes inherited from Request
Instance Method Summary collapse
-
#list(**options) ⇒ Array<String>
Get the list of known region names.
Methods inherited from Request
Constructor Details
This class inherits a constructor from Nomad::Request
Instance Method Details
#list(**options) ⇒ Array<String>
Get the list of known region names.
20 21 22 |
# File 'lib/nomad/api/region.rb', line 20 def list(**) return client.get("/v1/regions", ) end |