Sha256: 73ee58474cc69925c986868418e63bf09d965cc2300db97d10407aaa01a2f49a
Contents?: true
Size: 327 Bytes
Versions: 1
Compression:
Stored size: 327 Bytes
Contents
module Hydra::Derivatives class RetrieveSourceFileService # Retrieves the source # @param [Object] object the source file is attached to # @param [String] method name that can be called on object to retrieve the source file def self.call(object, source_name) object.send(source_name) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hydra-derivatives-2.0.0 | lib/hydra/derivatives/services/retrieve_source_file_service.rb |