Sha256: daa2b73360599fe488b6bf2afc2198906d5b606bc9fea82880260c15b4ffe583
Contents?: true
Size: 430 Bytes
Versions: 2
Compression:
Stored size: 430 Bytes
Contents
require_dependency 'landable/author_serializer' require_dependency 'landable/theme' module Landable class PageRevisionSerializer < ActiveModel::Serializer attributes :id, :ordinal, :notes, :is_minor, :is_published attributes :created_at, :updated_at attributes :preview_path attributes :screenshot_url embed :ids has_one :page has_one :author, include: true, serializer: AuthorSerializer end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
landable-1.14.0 | app/serializers/landable/page_revision_serializer.rb |
landable-1.13.2 | app/serializers/landable/page_revision_serializer.rb |