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

ACL method not found #74

Open
daniel-lanciana opened this issue Feb 7, 2013 · 3 comments
Open

ACL method not found #74

daniel-lanciana opened this issue Feb 7, 2013 · 3 comments

Comments

@daniel-lanciana
Copy link

The code:

require "s3"
service = S3::Service.new(:access_key_id => "foo",
                          :secret_access_key => "bar")

bucket = service.buckets.find("my-bucket") # bucket exists
object = bucket.objects.find("my-file.html") # object exists
puts object.request_acl

Results in:

s3.rb:9:in `<main>': undefined method `request_acl' for #<S3::Object:/my-bucket/my-file.html> (NoMethodError)

How do I list an object's permissions? Cheers.

@qoobaa
Copy link
Owner

qoobaa commented Feb 7, 2013

It may not be possible atm. Please create a pull request for that :-).

@malachaifrazier
Copy link

This should be fixed, no?

@qoobaa
Copy link
Owner

qoobaa commented May 14, 2014

Unsure, isn't there any other way of checking ACL?

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

No branches or pull requests

3 participants