1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/rackspace
James Healy 179fd51038 Rackspace Storage: new request, post_set_meta_temp_url_key
* Sets the account-wide Temp URL Key
* The key is used to sign any expiring URLs to otherwise private objects
* Once the key has been set, you need to pass it in when creating a new
  Rackspace Storage object like so:

      storage = Fog::Storage.new(:rackspace_username     => 'username',
                                 :rackspace_api_key      => 'api_key',
                                 :rackspace_temp_url_key => 'secret-key',
                                 :provider               => 'Rackspace')

* After this has been set, create an expiring URL like so:

      storage.get_object_https_url("container","object_key", Time.now + 60)
2012-06-12 18:51:12 +10:00
..
models [rackspace|storage|file] copy method now use the options hash and apply content type 2012-05-23 23:29:57 +02:00
requests Rackspace Storage: new request, post_set_meta_temp_url_key 2012-06-12 18:51:12 +10:00
cdn.rb Remove absolute path when requiring 2012-05-26 11:27:28 -04:00
compute.rb Remove absolute path when requiring 2012-05-26 11:27:28 -04:00
dns.rb Remove absolute path when requiring 2012-05-26 11:27:28 -04:00
load_balancers.rb Remove absolute path when requiring 2012-05-26 11:27:28 -04:00
storage.rb Rackspace Storage: new request, post_set_meta_temp_url_key 2012-06-12 18:51:12 +10:00