Sha256: 5fa672390cf6f57ec0a49f86b76f3f3fc9f529e71530ebd4041449ee98baf5df

Contents?: true

Size: 220 Bytes

Versions: 28

Compression:

Stored size: 220 Bytes

Contents

# frozen_string_literal: true

module Admin
  class PageFileResource
    include Alba::Resource

    attributes :id, :page_id, :attachment_id, :position
    one :attachment, resource: Admin::AttachmentResource
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

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