Class: Dragonfly::Job::FetchFile
Instance Attribute Summary
Attributes inherited from Step
Instance Method Summary collapse
Methods inherited from Step
abbreviation, basename, #initialize, #inspect, step_name, #update_temp_object
Constructor Details
This class inherits a constructor from Dragonfly::Job::Step
Instance Method Details
#apply(job) ⇒ Object
105 106 107 |
# File 'lib/dragonfly/job.rb', line 105 def apply(job) job.temp_object = TempObject.new(File.new(path)) end |
#path ⇒ Object
102 103 104 |
# File 'lib/dragonfly/job.rb', line 102 def path File.(args.first) end |