Class: ActiveStorageValidations::ASVAttachableAdapter::SignedId
- Defined in:
- lib/active_storage_validations/asv_attachable_adapter.rb
Instance Method Summary collapse
-
#initialize(attachable, file_supported:) ⇒ SignedId
constructor
A new instance of SignedId.
Methods inherited from Blob
#content_type, #filename, #read, #with_media_path
Methods inherited from Base
#content_type, #filename, #read, #rewind, #with_media_path
Constructor Details
#initialize(attachable, file_supported:) ⇒ SignedId
123 124 125 |
# File 'lib/active_storage_validations/asv_attachable_adapter.rb', line 123 def initialize(attachable, file_supported:) super(ActiveStorage::Blob.find_signed!(attachable), file_supported: file_supported) end |