We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ran into a rather weird error today.
aws = { access_key_id: "xxx", secret_access_key_holder: "xxx", bucket: "xxx", region: "us-east-1", } [2] pry(main)> Refile::S3.new(prefix: "store", **aws) => #<Refile::S3:0x007fc30f4bc790 @access_key_id="xxx", @bucket=, @bucket_name=, @hasher=#<Refile::RandomHasher:0x007fc30f4bc6a0>, @max_size=nil, @prefix="store", @s3=#<Aws::S3::Resource>, @s3_options={:region=>"us-east-1", :access_key_id=>"xxx", :secret_access_key=>"xxx"}>
As you can see, the @bucket and @bucket_name is empty even when bucket parameter has been supplied in the hash.
@bucket
@bucket_name
bucket
Funnily, changing :secret_access_key to something else, e.g. ::secret_access_key_temp makes the bucket & bucket_name reappear.
:secret_access_key
::secret_access_key_temp
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ran into a rather weird error today.
As you can see, the
@bucket
and@bucket_name
is empty even whenbucket
parameter has been supplied in the hash.Funnily, changing
:secret_access_key
to something else, e.g.::secret_access_key_temp
makes the bucket & bucket_name reappear.The text was updated successfully, but these errors were encountered: