instance method
signed_id
Ruby on Rails 8.1.2
Since v5.2.8.1Signature
signed_id(purpose: :blob_id, expires_in: nil, expires_at: nil)
Returns a signed ID for this blob that’s suitable for reference on the client-side without fear of tampering.
Parameters
-
purposekey = :blob_id -
expires_inkey = nil -
expires_atkey = nil
Source
# File activestorage/app/models/active_storage/blob.rb, line 162
def signed_id(purpose: :blob_id, expires_in: nil, expires_at: nil)
super
end
Defined in activestorage/app/models/active_storage/blob.rb line 162
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Blob