Sha256: ee0510e03f98ab0227d6e1677255ee8d2930a9ad6e2b3cca1474ed71f33903cf

Contents?: true

Size: 279 Bytes

Versions: 1

Compression:

Stored size: 279 Bytes

Contents

module Workarea
  decorate Catalog::ProductImage, with: :murals_your_way do

    decorated do
    	extend Dragonfly::Model

	    field :image_uid, type: String

	    dragonfly_accessor :image, app: :workarea

	    validates_size_of :image, maximum: 500.megabytes
		end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-image_decoration-1.0.0.pre app/models/workarea/catalog/product_image.decorator