lib/fog/ecloud/models/compute/operating_system_families.rb in fog-1.8.0 vs lib/fog/ecloud/models/compute/operating_system_families.rb in fog-1.9.0

- old
+ new

@@ -8,15 +8,15 @@ identity :href model Fog::Compute::Ecloud::OperatingSystemFamily def all - data = connection.get_operating_system_families(href).body[:OperatingSystemFamily] + data = service.get_operating_system_families(href).body[:OperatingSystemFamily] load(data) end def get(uri) - if data = connection.get_operating_system(uri) + if data = service.get_operating_system(uri) new(data.body) end rescue Fog::Errors::NotFound nil end