Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::IBM::Locations

Public Instance Methods

all() click to toggle source
# File lib/fog/ibm/models/compute/locations.rb, line 12
def all
  load(service.list_locations.body['locations'])
end
get(location_id) click to toggle source
# File lib/fog/ibm/models/compute/locations.rb, line 16
def get(location_id)
  begin
    new(service.get_location(location_id).body)
  rescue Fog::Compute::IBM::NotFound
    nil
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.