Sha256: 07b9a2e14d87a427e690bef6dd2851feca3e47274c2343ce29153daba011b2be

Contents?: true

Size: 359 Bytes

Versions: 8

Compression:

Stored size: 359 Bytes

Contents

module Landable
  class TemplateSerializer < ActiveModel::Serializer
    attributes :id
    attributes :name, :body, :description
    attributes :thumbnail_url, :slug
    attributes :is_layout, :is_publishable
    attributes :file, :editable
    attributes :audit_flags
    attributes :deleted_at

    embed    :ids
    has_one  :published_revision
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
landable-1.11.1 app/serializers/landable/template_serializer.rb
landable-1.11.0 app/serializers/landable/template_serializer.rb
landable-1.10.0.rc2 app/serializers/landable/template_serializer.rb
landable-1.10.0.rc1 app/serializers/landable/template_serializer.rb
landable-1.9.2 app/serializers/landable/template_serializer.rb
landable-1.9.1 app/serializers/landable/template_serializer.rb
landable-1.9.0 app/serializers/landable/template_serializer.rb
landable-1.9.0.rc2 app/serializers/landable/template_serializer.rb