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

- old
+ new

@@ -8,13 +8,13 @@ attribute :type, :aliases => :Type attribute :other_links, :aliases => :Links attribute :ip_address, :aliases => :IpAddress def delete - data = connection.rnat_associations_delete(href).body - task = Fog::Compute::Ecloud::Tasks.new(:connection => connection, :href => href)[0] + data = service.rnat_associations_delete(href).body + task = Fog::Compute::Ecloud::Tasks.new(:service => service, :href => href)[0] end - + def id href.scan(/\d+/)[0] end end end