Module: ActiveStorage::HotCell::Client::Transformers::Transforming

Included in:
Image::Magick, Image::Vips
Defined in:
lib/active_storage/hot_cell/client/transformers/transforming.rb

Overview

The conversion both transformers share. A transformer names the client that carries its transformations to the cell, and differs in nothing else.

Class Method Summary collapse

Class Method Details

.included(transformer) ⇒ Object



17
18
19
# File 'lib/active_storage/hot_cell/client/transformers/transforming.rb', line 17

def self.included(transformer)
  transformer.class_attribute :client, instance_accessor: false
end