Sha256: c6f9498e4ec15e6ea4c231604a5a487c4284fe20844bc63b8787fa8a1acd284d

Contents?: true

Size: 362 Bytes

Versions: 3

Compression:

Stored size: 362 Bytes

Contents

module Admin
  class ImageSerializer < ActiveModel::Serializer
    attributes(
      :id, :filename, :content_type, :content_hash, :content_length,
      :colorspace, :real_width, :real_height, :crop_width, :crop_height,
      :crop_start_x, :crop_start_y, :crop_gravity_x, :crop_gravity_y,
      :alternative, :caption, :created_at, :updated_at
    )
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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