Class: ActiveStorageValidations::ASVAttachableAdapter::Unsupported

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

Instance Method Summary collapse

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