Class
SwiftClient
In:
lib/client.rb
Parent:
Object
Methods
delete_container
delete_container
delete_object
delete_object
get_account
get_account
get_auth
get_auth
get_container
get_container
get_object
get_object
head_account
head_account
head_container
head_container
head_object
head_object
http_connection
http_connection
new
post_account
post_account
post_container
post_container
post_object
post_object
put_container
put_container
put_object
put_object
Public Class methods
delete_container
(url, token, container, headers={}, http_conn=nil)
delete_object
(url, token=nil, container=nil, name=nil, http_conn=nil, headers={}, proxy=nil)
get_account
(url, token, marker=nil, limit=nil, prefix=nil, http_conn=nil, full_listing=false)
get_auth
(url, user, key, snet=false)
get_container
(url, token, container, marker=nil, limit=nil, prefix=nil, delimiter=nil, http_conn=nil, full_listing=nil)
get_object
(url, token, container, name, http_conn=nil, resp_chunk_size=nil) {|b| ...}
head_account
(url, token, http_conn=nil)
head_container
(url, token, container, http_conn=nil)
head_object
(url, token, container, name, http_conn=nil)
http_connection
(url, proxy_host=nil, proxy_port=nil)
new
(authurl, user, key, retries=5, preauthurl=nil, preauthtoken=nil, snet=false, starting_backoff=1)
post_account
(url, token, headers, http_conn=nil)
post_container
(url, token, container, headers={}, http_conn=nil)
post_object
(url, token=nil, container=nil, name=nil, headers={}, http_conn=nil)
put_container
(url, token, container, headers={}, http_conn=nil)
put_object
(url, token=nil, container=nil, name=nil, contents=nil, content_length=nil, etag=nil, chunk_size=nil, content_type=nil, headers={}, http_conn=nil, proxy=nil)
Public Instance methods
delete_container
(container)
delete_object
(container, name, headers={})
get_account
(marker=nil, limit=nil, prefix=nil, full_listing=false)
get_auth
()
get_container
(container, marker=nil, limit=nil, prefix=nil, delimiter=nil, full_listing=nil)
get_object
(container, name, resp_chunk_size=nil)
head_account
()
head_container
(container)
head_object
(container, name)
http_connection
()
post_account
(headers=nil)
post_container
(container, headers={})
post_object
(container, name, headers={})
put_container
(container, headers={})
put_object
(container, obj, contents, content_length=nil, etag=nil, chunk_size=65536, content_type=nil, headers={})
[Validate]