class Fog::Compute::Ecloud::OperatingSystemFamilies
Public Instance Methods
all()
click to toggle source
# File lib/fog/ecloud/models/compute/operating_system_families.rb, line 12 def all data = service.get_operating_system_families(href).body[:OperatingSystemFamily] load(data) end
get(uri)
click to toggle source
# File lib/fog/ecloud/models/compute/operating_system_families.rb, line 17 def get(uri) if data = service.get_operating_system(uri) new(data.body) end rescue Fog::Errors::NotFound nil end