discourse/app/serializers/upload_serializer.rb

12 lines
265 B
Ruby
Raw Normal View History

2013-02-05 14:16:51 -05:00
class UploadSerializer < ApplicationSerializer
attributes :id,
:url,
:original_filename,
:filesize,
:width,
:height,
:extension,
:short_url,
:retain_hours
2013-02-05 14:16:51 -05:00
end