Class: ActiveStorageValidations::ASVAttachableAdapter::Unsupported
- Defined in:
- lib/active_storage_validations/asv_attachable_adapter.rb
Instance Method Summary collapse
-
#initialize(attachable, file_supported:) ⇒ Unsupported
constructor
A new instance of Unsupported.
Methods inherited from Base
#content_type, #filename, #read, #rewind, #with_media_path
Constructor Details
#initialize(attachable, file_supported:) ⇒ Unsupported
Returns a new instance of Unsupported.
215 216 217 218 |
# File 'lib/active_storage_validations/asv_attachable_adapter.rb', line 215 def initialize(attachable, file_supported:) super raise_unsupported end |