Class: RailsExecution::Files::Uploader
- Inherits:
-
Object
- Object
- RailsExecution::Files::Uploader
- Defined in:
- lib/rails_execution/files/uploader.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(task, inputs, owner: nil) ⇒ Uploader
constructor
A new instance of Uploader.
Constructor Details
#initialize(task, inputs, owner: nil) ⇒ Uploader
Returns a new instance of Uploader.
7 8 9 10 11 |
# File 'lib/rails_execution/files/uploader.rb', line 7 def initialize(task, inputs, owner: nil) @task = task @files = files_filter(inputs).compact @owner = owner end |
Instance Method Details
#call ⇒ Object
13 14 15 |
# File 'lib/rails_execution/files/uploader.rb', line 13 def call raise ::NotImplementedError, 'File uploader' end |