Skip to content

Commit

Permalink
# updating documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnny Halife committed Oct 5, 2009
1 parent adeab1d commit b3fc4f7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.rdoc
Expand Up @@ -12,21 +12,19 @@ on S3 existing APIs although there's some changes

require 'waz-blobs'

WAZ::Blobs::Base.establish_connection!(:account_name => your_account_name,
:access_key => your_account_key)
WAZ::Blobs::Base.establish_connection!(:account_name => your_account_name, :access_key => your_account_key)

# creates a container
container = WAZ::Blobs::Container.create('my-container')

# stores a blob with custom properties (metadata)
blob = container.store('my_blob.txt',
'this is the content of my blob',
'text',
{:x_ms_meta_Custom_Property => "custom_value" } )
blob = container.store('my_blob.txt', 'this is the content of my blob', 'text', {:x_ms_meta_Custom_Property => "custom_value" } )

# retrieves a blob value
blob.value



== Meta

Written by Johnny G. Halife (johnny.halife at me dot com)
Expand Down

0 comments on commit b3fc4f7

Please sign in to comment.