Sha256: ce3bd3fae4563559a5edd68ad18b6953bc3b5e3d90374f3d39049e123cb8ac2c
Contents?: true
Size: 557 Bytes
Versions: 9
Compression:
Stored size: 557 Bytes
Contents
module Warden module Mixins module Common # Convinience method to access the session # :api: public def session @env['rack.session'] end # session # Convenience method to access the rack request # :api: public def request @request ||= Rack::Request.new(@env) end # request # Convenience method to access the rack request params # :api: public def params request.params end # params end # Common end # Mixins end # Warden
Version data entries
9 entries across 9 versions & 2 rubygems