client/lib/base_object.rb
# This method adds blobs to the blob_list property
# of a bucket
This method adds blobs to the blob_list property
of a bucket
This method adds blobs to the blob_list property of a bucket
def add_blob!(blob_name)
        if @blob_list.nil?
          @blob_list = [blob_name]
          @objects << {
            :type => :list,
            :method_name => "blob_list",
            :value => @blob_list
          }
        else
          @blob_list << blob_name
          current = search_for_method('blob_list')
          current[:value] = @blob_list
        end
      end
def add_blob! ( blob_name ) if @blob_list . nil? @blob_list = [ blob_name ] @objects << { :type => :list , :method_name => "blob_list" , :value => @blob_list } else @blob_list << blob_name current = search_for_method ( 'blob_list' ) current [ :value ] = @blob_list end end
This method adds blobs to the blob_list property
of a bucket
This method adds blobs to the blob_list property of a bucket
blob_name