Sha256: 328d828d47e289bfd444827205090c688e1f654f42f879c5c80567bf82343375

Contents?: true

Size: 263 Bytes

Versions: 10

Compression:

Stored size: 263 Bytes

Contents

module RailsExecution
  class FileReader < RailsExecution::Files::Reader

    # Output: {
    #   'File1' => 'url',
    #   'FileZ' => 'url',
    # }
    def call
      # YourAttachment.where(task: task).pluck(:name, :url).to_h
      return {}
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rails_execution-0.1.12 lib/generators/rails_execution/templates/file_reader.rb.tt
rails_execution-0.1.11 lib/generators/rails_execution/templates/file_reader.rb.tt
rails_execution-0.1.10 lib/generators/rails_execution/templates/file_reader.rb.tt
rails_execution-0.1.9 lib/generators/rails_execution/templates/file_reader.rb.tt
rails_execution-0.1.8 lib/generators/rails_execution/templates/file_reader.rb.tt
rails_execution-0.1.7 lib/generators/rails_execution/templates/file_reader.rb.tt
rails_execution-0.1.5 lib/generators/rails_execution/templates/file_reader.rb.tt
rails_execution-0.1.4 lib/generators/rails_execution/templates/file_reader.rb.tt
rails_execution-0.1.2 lib/generators/rails_execution/templates/file_reader.rb.tt
rails_execution-0.1.1 lib/generators/rails_execution/templates/file_reader.rb.tt