instance method
key
Ruby on Rails 7.1.6
Since v6.1.7.10Signature
key()
Returns a combination key of the blob and the variation that together identifies a specific variant.
Source
# File activestorage/app/models/active_storage/preview.rb, line 77
def key
if processed?
variant.key
else
raise UnprocessedError
end
end
Defined in activestorage/app/models/active_storage/preview.rb line 77
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Preview