diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-09 18:03:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-09 18:03:13 +0200 |
commit | a19d943f1de7d856d74ff8a0e1806da99be26076 (patch) | |
tree | 8b4cc691b003f060d72702f88f52efde129b0c20 /lib/active_storage/service.rb | |
parent | b1cf901d282c869c670fa4246be5ce40116112c9 (diff) | |
download | rails-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.rb | 4 |
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( |