Class: Hydra::Derivatives::RetrieveSourceFileService
- Inherits:
-
Object
- Object
- Hydra::Derivatives::RetrieveSourceFileService
- Defined in:
- lib/hydra/derivatives/services/retrieve_source_file_service.rb
Class Method Summary collapse
-
.call(object, source_name) ⇒ Object
Retrieves the source.
Class Method Details
.call(object, source_name) ⇒ Object
Retrieves the source
8 9 10 |
# File 'lib/hydra/derivatives/services/retrieve_source_file_service.rb', line 8 def self.call(object, source_name) object.send(source_name) end |