Sha256: c97374ed49d30c697045ea860aa44ead5b8047cd5820b17e4c65eff75b7ce620
Contents?: true
Size: 354 Bytes
Versions: 2
Compression:
Stored size: 354 Bytes
Contents
module Landable class AssetSerializer < ActiveModel::Serializer attributes :id, :name, :description attributes :file_size, :mime_type, :md5sum attributes :created_at, :updated_at attributes :public_url embed :ids has_one :author, include: true, serializer: AuthorSerializer has_many :pages has_many :themes end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
landable-1.7.1.rc1 | app/serializers/landable/asset_serializer.rb |
landable-1.7.0 | app/serializers/landable/asset_serializer.rb |