Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RObject#url doesn't know about load-balancing #3

Closed
seancribbs opened this issue Jan 12, 2012 · 1 comment
Closed

RObject#url doesn't know about load-balancing #3

seancribbs opened this issue Jan 12, 2012 · 1 comment
Labels
Milestone

Comments

@seancribbs
Copy link
Contributor

Moved from https://github.com/seancribbs/ripple/issues/249 by @johnae:

Below method in RObject to get the url doesn't know about load-balancing.

# Generates a URL representing the object according to the client, bucket and key.
# If the key is blank, the bucket URL will be returned (where the object will be
# submitted to when stored).
def url
  segments = [ @bucket.client.http_paths[:prefix], escape(@bucket.name)]
  segments << escape(@key) if @key
  @bucket.client.http.path(*segments).to_s
end
seancribbs pushed a commit that referenced this issue Apr 11, 2012
It is not relied upon for anything and is not compatible/useful with the new client structure. There are also no specs for it.
@seancribbs
Copy link
Contributor Author

Closed by #33.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant