Sha256: 36a9fac9b4d0f5daddb2ac05c90d9894a8329c308d79880b74b8b660c0e34cc2

Contents?: true

Size: 216 Bytes

Versions: 28

Compression:

Stored size: 216 Bytes

Contents

# frozen_string_literal: true

module Admin
  class PageImageResource
    include Alba::Resource

    attributes :id, :page_id, :image_id, :position, :primary
    one :image, resource: Admin::ImageResource
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
pages_core-3.15.5 app/resources/admin/page_image_resource.rb
pages_core-3.15.4 app/resources/admin/page_image_resource.rb
pages_core-3.15.3 app/resources/admin/page_image_resource.rb
pages_core-3.15.2 app/resources/admin/page_image_resource.rb
pages_core-3.15.1 app/resources/admin/page_image_resource.rb
pages_core-3.14.0 app/resources/admin/page_image_resource.rb
pages_core-3.13.0 app/resources/admin/page_image_resource.rb
pages_core-3.12.7 app/resources/admin/page_image_resource.rb
pages_core-3.12.6 app/resources/admin/page_image_resource.rb
pages_core-3.12.5 app/resources/admin/page_image_resource.rb
pages_core-3.12.4 app/resources/admin/page_image_resource.rb
pages_core-3.12.3 app/resources/admin/page_image_resource.rb
pages_core-3.12.2 app/resources/admin/page_image_resource.rb
pages_core-3.12.1 app/resources/admin/page_image_resource.rb
pages_core-3.12.0 app/resources/admin/page_image_resource.rb
pages_core-3.11.3 app/resources/admin/page_image_resource.rb
pages_core-3.11.2 app/resources/admin/page_image_resource.rb
pages_core-3.11.1 app/resources/admin/page_image_resource.rb
pages_core-3.11.0 app/resources/admin/page_image_resource.rb
pages_core-3.10.2 app/resources/admin/page_image_resource.rb