Sha256: 1e61091ef935cefd1c565e46f81946638b315426e28ac758163843241844f747

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

module Landable
  class TemplateSerializer < ActiveModel::Serializer

    attributes :body, :deleted_at, :description, :editable, :file, :id, 
               :is_layout, :is_publishable, :name, :slug, :thumbnail_url

    embed    :ids
    has_one  :published_revision
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
landable-1.9.0.rc1 app/serializers/landable/template_serializer.rb
landable-1.8.0 app/serializers/landable/template_serializer.rb