Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 1.14 KB

README.rdoc

File metadata and controls

36 lines (19 loc) · 1.14 KB

Windows Azure Blobs library – simple gem for accessing WAZ’s Storage Blobs REST API

Client library that will enable you to consume the Windows Azure Storage Service Blobs thru it’s REST API. Most of this work is inspired on S3 existing APIs although there’s some changes

Usage: Getting started

sudo gem install waz-blobs –source gemcutter.org

Usage: Basics

require ‘waz-blobs’ 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” } )

# retrieves a blob value blob.value

Meta

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

contributed by: Ezequiel Morito (blogs.southworks.net/emorito) and Juan Pablo Garcia (blogs.southworks.net/jpgarcia)

Released under the MIT License: www.opensource.org/licenses/mit-license.php

github.com/johnnyhalife/waz-blobs