discourse/app/serializers/upload_serializer.rb

12 lines
265 B
Ruby
Raw Normal View History

2013-02-06 03:16:51 +08:00
class UploadSerializer < ApplicationSerializer
attributes :id,
:url,
:original_filename,
:filesize,
:width,
:height,
:extension,
:short_url,
:retain_hours
2013-02-06 03:16:51 +08:00
end