module AWS::S3::PrefixAndDelimiterCollection
@api private
Public Instance Methods
as_tree(options = {})
click to toggle source
@see Bucket#as_tree
# File lib/aws/s3/prefix_and_delimiter_collection.rb, line 23 def as_tree options = {} Tree.new(self, { :prefix => prefix }.merge(options)) end
Protected Instance Methods
each_member_in_page(page) { |with_prefix(p)| ... }
click to toggle source
@api private
Calls superclass method
# File lib/aws/s3/prefix_and_delimiter_collection.rb, line 29 def each_member_in_page(page, &block) super page.common_prefixes.each do |p| yield(with_prefix(p[:prefix])) end end
list_options(options)
click to toggle source
@api private
Calls superclass method
AWS::S3::PrefixedCollection#list_options
# File lib/aws/s3/prefix_and_delimiter_collection.rb, line 38 def list_options(options) opts = super opts[:delimiter] = options[:delimiter] if options.key?(:delimiter) opts end