official bitcasa api implemented in ruby