class ThriftRack::LaunchTimestamp
Public Class Methods
new(app)
click to toggle source
# File lib/thrift_rack/launch_timestamp.rb, line 3 def initialize(app) @app = app end
Public Instance Methods
call(env)
click to toggle source
# File lib/thrift_rack/launch_timestamp.rb, line 7 def call(env) env['LAUNCH_AT'] = Time.now @app.call(env) end