lib/fog/joyent/models/compute/images.rb in fog-1.22.0 vs lib/fog/joyent/models/compute/images.rb in fog-1.22.1

- old
+ new

@@ -1,14 +1,12 @@ require 'fog/core/collection' require 'fog/joyent/models/compute/image' module Fog module Compute - class Joyent class Images < Fog::Collection - model Fog::Compute::Joyent::Image def all # the API call for getting images changed from 6.5 to 7.0. Joyent seems to still support the old url, but no idea for how long if service.joyent_version.gsub(/[^0-9.]/,'').to_f < 7.0 @@ -24,11 +22,9 @@ else service.get_image(id).body end new(data) end - end # Images end # Joyent - end # Compute end # Fog