Sha256: bc5f8589ee8c3305f3ddc4f82b7eec8a2c83a35f18ff7ecd9538b87b10b4ddd3

Contents?: true

Size: 157 Bytes

Versions: 3

Compression:

Stored size: 157 Bytes

Contents

module Admin
  class PageImageSerializer < ActiveModel::Serializer
    attributes :id, :page_id, :image_id, :position, :primary
    has_one :image
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pages_core-3.4.3 app/serializers/admin/page_image_serializer.rb
pages_core-3.5.1 app/serializers/admin/page_image_serializer.rb
pages_core-3.4.2 app/serializers/admin/page_image_serializer.rb