lib/fog/google/models/storage/files.rb in fog-1.22.0 vs lib/fog/google/models/storage/files.rb in fog-1.22.1
- old
+ new
@@ -2,11 +2,10 @@
require 'fog/google/models/storage/file'
module Fog
module Storage
class Google
-
class Files < Fog::Collection
extend Fog::Deprecation
deprecate :get_url, :get_https_url
attribute :common_prefixes, :aliases => 'CommonPrefixes'
@@ -39,11 +38,11 @@
else
nil
end
end
- alias :each_file_this_page :each
+ alias_method :each_file_this_page, :each
def each
if !block_given?
self
else
subset = dup.all
@@ -93,11 +92,9 @@
def new(attributes = {})
requires :directory
super({ :directory => directory }.merge(attributes))
end
-
end
-
end
end
end