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