module Fiona7 class BlobsController < ActionController::Base include Fiona7::BinaryHandling::DeliveryMixin protected def binary_id_from_params params[:id] end def transformation_from_params if params[:t] BinaryHandling::ParamEncoder.new.decode( params[:t] ) end end def set_header(name, value) response.headers[name] = value end end end