Sha256: 8285bb5d3cd438ed9a87693a4c8f37c6070cfd18a2091d27a250e121ce0c7818
Contents?: true
Size: 271 Bytes
Versions: 3
Compression:
Stored size: 271 Bytes
Contents
module WebTranslateIt class AutoFetch def initialize(app) @app = app end def call(env) # Update language files fetch_translations status, headers, response = @app.call(env) [status, headers, response.body] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
web_translate_it-1.4.2 | lib/web_translate_it/auto_fetch.rb |
web_translate_it-1.4.1 | lib/web_translate_it/auto_fetch.rb |
web_translate_it-1.4.0 | lib/web_translate_it/auto_fetch.rb |