Sha256: 80c742f851da79074449d73ebec9fce2a9b01e165bc6b7e9fb01e0b2da8e017a

Contents?: true

Size: 181 Bytes

Versions: 27

Compression:

Stored size: 181 Bytes

Contents

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

    attributes :id,
      :title,
      :css_class

    has_one :attachment

  end
end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
alchemy_cms-3.0.2 app/serializers/alchemy/essence_file_serializer.rb
alchemy_cms-3.0.1 app/serializers/alchemy/essence_file_serializer.rb
alchemy_cms-3.0.0 app/serializers/alchemy/essence_file_serializer.rb
alchemy_cms-3.0.0.rc8 app/serializers/alchemy/essence_file_serializer.rb
alchemy_cms-3.0.0.rc7 app/serializers/alchemy/essence_file_serializer.rb
alchemy_cms-3.0.0.rc6 app/serializers/alchemy/essence_file_serializer.rb
alchemy_cms-3.0.0.rc5 app/serializers/alchemy/essence_file_serializer.rb