Class: ActiveStorageSupport::Base64Many
- Inherits:
-
ActiveStorage::Attached::Many
- Object
- ActiveStorage::Attached::Many
- ActiveStorageSupport::Base64Many
- Defined in:
- lib/active_storage_support/base64_many.rb
Instance Method Summary collapse
Instance Method Details
#attach(*attachables) ⇒ Object
3 4 5 |
# File 'lib/active_storage_support/base64_many.rb', line 3 def attach(*attachables) super (attachables) end |
#base64_attachments(attachments) ⇒ Object
7 8 9 10 11 |
# File 'lib/active_storage_support/base64_many.rb', line 7 def () .flatten.map do || ActiveStorageSupport::Base64Attach.() end end |