Module: ABPlugin::Adapters::Sinatra
- Defined in:
- lib/a_b_plugin/adapters/sinatra.rb
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
5 6 7 8 9 |
# File 'lib/a_b_plugin/adapters/sinatra.rb', line 5 def self.included(klass) klass.send :before do ABPlugin.session_id = env['rack.session.options']['_session_id'] end end |