Module: TaliaCore::DataTypes::PathHelpers::ClassMethods

Included in:
FileRecord
Defined in:
lib/talia_core/data_types/path_helpers.rb

Instance Method Summary collapse

Instance Method Details

#data_pathObject

Path used to store data files.



15
16
17
# File 'lib/talia_core/data_types/path_helpers.rb', line 15

def data_path
  @@data_path ||= File.join(TALIA_ROOT, 'data')
end

#tempfile_pathObject

Path used to store temporary files.



10
11
12
# File 'lib/talia_core/data_types/path_helpers.rb', line 10

def tempfile_path
  @@tempfile_path ||= File.join(TALIA_ROOT, 'tmp', 'data_records')
end