Module: Samvera::Derivatives::Hyrax::FileSetDecorator

Defined in:
lib/samvera/derivatives/hyrax.rb

Overview

The purpose of this module is to preserve the existing Hyrax derivative behavior while also allowing for the two-step tango of locator and applicator.

Instance Method Summary collapse

Instance Method Details

#samvera_derivatives_default_from_location_wrapper(file_path:) ⇒ Samvera::Derivatives::Hyrax::FileSetDerivativesServiceWrapper



118
119
120
121
# File 'lib/samvera/derivatives/hyrax.rb', line 118

def samvera_derivatives_default_from_location_wrapper(file_path:)
  @samvera_derivatives_default_from_location_wrapper ||=
    Samvera::Derivatives::Hyrax::FileSetDerivativesServiceWrapper.new(file_set: self, file_path: file_path)
end