Sha256: f536f9b96f0f35c9dc2768f9f60cc1e5e72ab2f384e375a7d4c4b6e32c3e4504

Contents?: true

Size: 280 Bytes

Versions: 14

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

module Alchemy
  class AttachmentSerializer < ActiveModel::Serializer
    self.root = false

    attributes :id,
      :name,
      :file_name,
      :file_mime_type,
      :file_size,
      :tag_list,
      :created_at,
      :updated_at
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
alchemy_cms-4.0.6 app/serializers/alchemy/attachment_serializer.rb
alchemy_cms-4.1.2 app/serializers/alchemy/attachment_serializer.rb
alchemy_cms-4.1.1 app/serializers/alchemy/attachment_serializer.rb
alchemy_cms-4.1.0 app/serializers/alchemy/attachment_serializer.rb
alchemy_cms-4.0.5 app/serializers/alchemy/attachment_serializer.rb
alchemy_cms-4.0.4 app/serializers/alchemy/attachment_serializer.rb
alchemy_cms-4.1.0.rc1 app/serializers/alchemy/attachment_serializer.rb
alchemy_cms-4.0.3 app/serializers/alchemy/attachment_serializer.rb
alchemy_cms-4.0.2 app/serializers/alchemy/attachment_serializer.rb
alchemy_cms-4.1.0.beta app/serializers/alchemy/attachment_serializer.rb
alchemy_cms-4.0.1 app/serializers/alchemy/attachment_serializer.rb
alchemy_cms-4.0.0 app/serializers/alchemy/attachment_serializer.rb
alchemy_cms-4.0.0.rc2 app/serializers/alchemy/attachment_serializer.rb
alchemy_cms-4.0.0.rc1 app/serializers/alchemy/attachment_serializer.rb