AlchemyCMS/alchemy_cms

View on GitHub
app/serializers/alchemy/picture_serializer.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module Alchemy
  class PictureSerializer < ActiveModel::Serializer
    attributes :id,
      :name,
      :image_file_name,
      :image_file_width,
      :image_file_height,
      :image_file_size,
      :tag_list,
      :created_at,
      :updated_at
  end
end