Sha256: f5c828dbb0cf489ca062a2172223535b707f95b3226d901b9a1930a35824afc4
Contents?: true
Size: 494 Bytes
Versions: 3
Compression:
Stored size: 494 Bytes
Contents
module Gon module Request class << self def env @request_env if defined? @request_env end def env=(environment) @request_env = environment @request_env['gon'] ||= {} end def id @request_id if defined? @request_id end def id=(request_id) @request_id = request_id end def gon env['gon'] if env end def clear @request_env['gon'] = {} end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gon-3.0.3 | lib/gon/request.rb |
gon-3.0.2 | lib/gon/request.rb |
gon-3.0.0 | lib/gon/request.rb |