aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_storage/service.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2017-07-09 18:03:13 +0200
committerGitHub <noreply@github.com>2017-07-09 18:03:13 +0200
commita19d943f1de7d856d74ff8a0e1806da99be26076 (patch)
tree8b4cc691b003f060d72702f88f52efde129b0c20 /lib/active_storage/service.rb
parentb1cf901d282c869c670fa4246be5ce40116112c9 (diff)
downloadrails-a19d943f1de7d856d74ff8a0e1806da99be26076.tar.gz
rails-a19d943f1de7d856d74ff8a0e1806da99be26076.tar.bz2
rails-a19d943f1de7d856d74ff8a0e1806da99be26076.zip
Direct uploads for S3
Diffstat (limited to 'lib/active_storage/service.rb')
-rw-r--r--lib/active_storage/service.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/active_storage/service.rb b/lib/active_storage/service.rb
index f50849b694..d0d4362006 100644
--- a/lib/active_storage/service.rb
+++ b/lib/active_storage/service.rb
@@ -78,6 +78,10 @@ class ActiveStorage::Service
raise NotImplementedError
end
+ def url_for_direct_upload(key, expires_in:, content_type:, content_length:)
+ raise NotImplementedError
+ end
+
private
def instrument(operation, key, payload = {}, &block)
ActiveSupport::Notifications.instrument(