Method: Fog::Compute::IBM::Mock#list_locations

Defined in:
lib/fog/ibm/requests/compute/list_locations.rb

#list_locationsObject


27
28
29
30
31
32
# File 'lib/fog/ibm/requests/compute/list_locations.rb', line 27

def list_locations
  response = Excon::Response.new
  response.status = 200
  response.body = { "locations" => self.data[:locations].values }
  response
end