This method deliberately returns only a single page of results
# File lib/fog/aws/models/rds/log_files.rb, line 18 def all(filters=filters) self.filters.merge!(filters) result = service.describe_db_log_files(rds_id, self.filters).body['DescribeDBLogFilesResult'] self.filters[:marker] = result['Marker'] load(result['DBLogFiles']) end
# File lib/fog/aws/models/rds/log_files.rb, line 26 def each(filters=filters) if block_given? begin page = self.all(filters) # We need to explicitly use the base 'each' method here on the page, otherwise we get infinite recursion base_each = Fog::Collection.instance_method(:each) base_each.bind(page).call { |log_file| yield log_file } end while self.filters[:marker] end self end
Generated with the Darkfish Rdoc Generator 2.