instance method
as_json
Ruby on Rails 8.1.4
Since v8.1.4Available in: v8.1.4 edge
Signature
as_json(options = nil)
No documentation comment.
Parameters
-
optionsopt = nil
Source
# File activestorage/lib/active_storage/attached/many.rb, line 70
def as_json(options = nil)
attachments.as_json(options)
end
Defined in activestorage/lib/active_storage/attached/many.rb line 70
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Attached::Many