Class: BPL::Derivatives::RetrieveSourceFileService
- Inherits:
-
Object
- Object
- BPL::Derivatives::RetrieveSourceFileService
- Defined in:
- lib/bpl/derivatives/services/retrieve_source_file_service.rb
Class Method Summary collapse
-
.call(object, options) {|Tempfile| ... } ⇒ Object
Retrieves the source.
Class Method Details
.call(object, options) {|Tempfile| ... } ⇒ Object
Retrieves the source
8 9 10 11 |
# File 'lib/bpl/derivatives/services/retrieve_source_file_service.rb', line 8 def self.call(object, , &block) source_name = .fetch(:source) BPL::Derivatives::TempfileService.create(object.send(source_name), &block) end |