mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
23 lines
407 B
Ruby
23 lines
407 B
Ruby
module Fog
|
|
module Compute
|
|
class IBM
|
|
class Real
|
|
|
|
# Get all locations
|
|
#
|
|
# ==== Returns
|
|
# * response<~Excon::Response>:
|
|
# * body<~Hash>
|
|
# TODO: docs
|
|
def list_locations
|
|
request(
|
|
:method => 'GET',
|
|
:expects => 200,
|
|
:path => "/locations"
|
|
)
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|
|
end
|