class Nomad::Region

Public Instance Methods

list(**options) click to toggle source

Get the list of known region names.

@example

Nomad.region.list #=> ["region1", "region2"]

@return [Array<String>]

# File lib/nomad/api/region.rb, line 20
def list(**options)
  return client.get("/v1/regions", options)
end