Class: LocaliseRails::SeedTranslationsToRequestStore

Inherits:
Object
  • Object
show all
Defined in:
lib/localise_rails/seed_translations_to_request_store.rb

Instance Method Summary collapse

Instance Method Details

#callObject



3
4
5
6
7
8
9
# File 'lib/localise_rails/seed_translations_to_request_store.rb', line 3

def call
  if fresh_data_in_memory?
    seed_translations_from_memory
  else
    seed_translations_from_cache
  end
end