lib/fog/aws/models/cdn/distribution_helper.rb in fog-1.22.0 vs lib/fog/aws/models/cdn/distribution_helper.rb in fog-1.22.1
- old
+ new
@@ -1,13 +1,11 @@
require 'fog/core/collection'
module Fog
module CDN
class AWS
-
module DistributionHelper
-
def destroy
requires :identity, :etag, :caller_reference
raise "Distribution must be disabled to be deleted" unless disabled?
delete_distribution(identity, etag)
true
@@ -54,11 +52,9 @@
etag = response.headers['ETag']
merge_attributes(response.body)
end
true
end
-
end
-
end
end
-end
\ No newline at end of file
+end