Sha256: 60116784ea484717e90fd12379bd493e0255d7a6e7f428595fc1f6bbae2ff6bf
Contents?: true
Size: 328 Bytes
Versions: 26
Compression:
Stored size: 328 Bytes
Contents
module Spina module Parts class ImageVariant attr_reader :blob def initialize(image, options) @blob = image @options = options end def variation OpenStruct.new({ key: ActiveStorage::Variation.encode(@options) }) end end end end
Version data entries
26 entries across 26 versions & 1 rubygems