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

S3 client to be able to customize #2

Merged
merged 1 commit into from
Sep 18, 2015
Merged

S3 client to be able to customize #2

merged 1 commit into from
Sep 18, 2015

Conversation

ksss
Copy link
Owner

@ksss ksss commented Sep 18, 2015

I have an idea.
Tori::Backend::S3 client to be able to customize when initialize.
Default case as in the past.

custom_backend = Tori::Backend::S3.new(
  bucket: 'somebucket',
  client: Aws::S3::Client.new(access_key_id: 'aaa', secret_access_key: 'bbb'),
)

How about you @kirikiriyamama ?

@kirikiriyamama
Copy link
Contributor

It's so cool 💎 I approve its way.

@ksss
Copy link
Owner Author

ksss commented Sep 18, 2015

Thanks ;)

ksss added a commit that referenced this pull request Sep 18, 2015
S3 client to be able to customize
@ksss ksss merged commit dca6835 into master Sep 18, 2015
@ksss ksss deleted the custom-client branch September 18, 2015 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants