Sha256: 81b494e73371a405c5b82b15c032bb7089af060d571d4117f7d57472f6411aa0
Contents?: true
Size: 360 Bytes
Versions: 14
Compression:
Stored size: 360 Bytes
Contents
require 'csv' module ThinkFeelDoEngine module Reports class Reporter def self.fetch_reports return [] unless Rails.application.config.respond_to?(:reports) Rails.application.config.reports end def self.file_path(id) Rails.root.join("reports/#{id.to_s.gsub("_", "").downcase}.csv") end end end end
Version data entries
14 entries across 14 versions & 1 rubygems