Sha256: fd7809bfa266f6fbb351e5bc160566850c2d06b8bf7aa95080aa696c1504edd8
Contents?: true
Size: 710 Bytes
Versions: 28
Compression:
Stored size: 710 Bytes
Contents
# frozen_string_literal: true module Export class PageImageResource include Alba::Resource attributes :primary attribute :id do object.image.id end attribute :name do object.image.name end attribute :alternative do object.image.alternative end attribute :caption do object.image.caption end attribute :content_hash do object.image.content_hash end attribute :content_type do object.image.content_type end attribute :filename do object.image.filename end attribute :size do object.image.crop_size end attribute :created_at do object.image.created_at end end end
Version data entries
28 entries across 28 versions & 1 rubygems