Class: Samvera::Derivatives::Hyrax::FileLocatorStrategy

Inherits:
FileLocator::Strategy show all
Defined in:
lib/samvera/derivatives/hyrax.rb

Class Method Summary collapse

Class Method Details

.locate(file_set:, file_path:) ⇒ Samvera::Derivatives::Hyrax::FileSetDerivativesServiceWrapper

Implements FileLocator::Strategy interface.



73
74
75
# File 'lib/samvera/derivatives/hyrax.rb', line 73

def self.locate(file_set:, file_path:, **)
  file_set.samvera_derivatives_default_from_location_wrapper(file_path: file_path)
end