aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/lib/active_storage/service.rb
diff options
context:
space:
mode:
authorJeffrey Guenther <guenther.jeffrey@gmail.com>2017-11-02 16:52:54 -0700
committerJeffrey Guenther <guenther.jeffrey@gmail.com>2017-11-02 16:57:13 -0700
commit2def806f077e00297cf9d18c80ffee24592f9330 (patch)
treee9fe80c488d44122aec222f34019e4acd225a33d /activestorage/lib/active_storage/service.rb
parent3d6d9f077fe998292f25ec9753c52cd37e22d71d (diff)
downloadrails-2def806f077e00297cf9d18c80ffee24592f9330.tar.gz
rails-2def806f077e00297cf9d18c80ffee24592f9330.tar.bz2
rails-2def806f077e00297cf9d18c80ffee24592f9330.zip
Fixes typo in docs
Diffstat (limited to 'activestorage/lib/active_storage/service.rb')
-rw-r--r--activestorage/lib/active_storage/service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/lib/active_storage/service.rb b/activestorage/lib/active_storage/service.rb
index aa150e4d8a..343e5587d5 100644
--- a/activestorage/lib/active_storage/service.rb
+++ b/activestorage/lib/active_storage/service.rb
@@ -92,7 +92,7 @@ module ActiveStorage
# Returns a signed, temporary URL that a direct upload file can be PUT to on the +key+.
# The URL will be valid for the amount of seconds specified in +expires_in+.
- # You most also provide the +content_type+, +content_length+, and +checksum+ of the file
+ # You must also provide the +content_type+, +content_length+, and +checksum+ of the file
# that will be uploaded. All these attributes will be validated by the service upon upload.
def url_for_direct_upload(key, expires_in:, content_type:, content_length:, checksum:)
raise NotImplementedError