Class: ActiveStorageValidations::ASVAttachableAdapter::SignedId

Inherits:
Blob
  • Object
show all
Defined in:
lib/active_storage_validations/asv_attachable_adapter.rb

Instance Method Summary collapse

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