instance method
key
Ruby on Rails 7.0.10
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 74
def key
if processed?
variant.key
else
raise UnprocessedError
end
end
Defined in activestorage/app/models/active_storage/preview.rb line 74
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Preview