Sha256: b300d6df558d1ac69927dccf1a0ed603c8447e49a93ae765dc9dbbec21bbb46f
Contents?: true
Size: 345 Bytes
Versions: 34
Compression:
Stored size: 345 Bytes
Contents
module Spree module Api module V2 module ImageTransformationConcern extend ActiveSupport::Concern def self.included(base) base.attribute :transformed_url do |image, params| image.generate_url(size: params.dig(:image_transformation, :size)) end end end end end end
Version data entries
34 entries across 34 versions & 3 rubygems