Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paperclip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
paperclip
Commits
ac7b4116
Commit
ac7b4116
authored
Dec 21, 2012
by
Daniel Collis-Puro
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1105 from benmanns/master
Documentation fix.
parents
ba768753
26beeb10
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/paperclip/storage/s3.rb
+3
-3
No files found.
lib/paperclip/storage/s3.rb
View file @
ac7b4116
...
@@ -35,7 +35,7 @@ module Paperclip
...
@@ -35,7 +35,7 @@ module Paperclip
# :s3_permissions => {
# :s3_permissions => {
# :original => :private
# :original => :private
# }
# }
# Or globaly:
# Or global
l
y:
# :s3_permissions => :private
# :s3_permissions => :private
#
#
# * +s3_protocol+: The protocol for the URLs generated to your S3 assets. Can be either
# * +s3_protocol+: The protocol for the URLs generated to your S3 assets. Can be either
...
@@ -45,7 +45,7 @@ module Paperclip
...
@@ -45,7 +45,7 @@ module Paperclip
# * +s3_headers+: A hash of headers or a Proc. You may specify a hash such as
# * +s3_headers+: A hash of headers or a Proc. You may specify a hash such as
# {'Expires' => 1.year.from_now.httpdate}. If you use a Proc, headers are determined at
# {'Expires' => 1.year.from_now.httpdate}. If you use a Proc, headers are determined at
# runtime. Paperclip will call that Proc with attachment as the only argument.
# runtime. Paperclip will call that Proc with attachment as the only argument.
# Can be defined both globaly and within a style-specific hash.
# Can be defined both global
l
y and within a style-specific hash.
# * +bucket+: This is the name of the S3 bucket that will store your files. Remember
# * +bucket+: This is the name of the S3 bucket that will store your files. Remember
# that the bucket must be unique across all of Amazon S3. If the bucket does not exist
# that the bucket must be unique across all of Amazon S3. If the bucket does not exist
# Paperclip will attempt to create it. The bucket name will not be interpolated.
# Paperclip will attempt to create it. The bucket name will not be interpolated.
...
@@ -84,7 +84,7 @@ module Paperclip
...
@@ -84,7 +84,7 @@ module Paperclip
# * +s3_metadata+: These key/value pairs will be stored with the
# * +s3_metadata+: These key/value pairs will be stored with the
# object. This option works by prefixing each key with
# object. This option works by prefixing each key with
# "x-amz-meta-" before sending it as a header on the object
# "x-amz-meta-" before sending it as a header on the object
# upload request. Can be defined both globaly and within a style-specific hash.
# upload request. Can be defined both global
l
y and within a style-specific hash.
# * +s3_storage_class+: If this option is set to
# * +s3_storage_class+: If this option is set to
# <tt>:reduced_redundancy</tt>, the object will be stored using Reduced
# <tt>:reduced_redundancy</tt>, the object will be stored using Reduced
# Redundancy Storage. RRS enables customers to reduce their
# Redundancy Storage. RRS enables customers to reduce their
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment