Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::DigitalOcean::Regions

Public Instance Methods

all() click to toggle source
# File lib/fog/digitalocean/models/compute/regions.rb, line 11
def all
  load service.list_regions.body['regions']
end
get(id) click to toggle source
# File lib/fog/digitalocean/models/compute/regions.rb, line 15
def get(id)
  all.find { |f| f.id == id }
rescue Fog::Errors::NotFound
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.