Sha256: 1e2f8b964b8f9358a689acd7ce57aab20bd9c3b9c4a4f3007e7a6f8aa6bd249a
Contents?: true
Size: 232 Bytes
Versions: 45
Compression:
Stored size: 232 Bytes
Contents
# frozen_string_literal: true json.(image, *image_attributes) json.(image, :viewable_type, :viewable_id) Spree::Image.attachment_definitions[:attachment][:styles].each do |k, _v| json.set! "#{k}_url", image.attachment.url(k) end
Version data entries
45 entries across 45 versions & 2 rubygems