method

open

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: Downloader
open(key, checksum:, name: "ActiveStorage-", tmpdir: nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/lib/active_storage/downloader.rb, line 11
    def open(key, checksum,, name: "ActiveStorage-", tmpdir: nil)
      open_tempfile(name, tmpdir) do |file|
        download key, file
        verify_integrity_of file, checksum: checksum
        yield file
      end
    end
Register or log in to add new notes.