Sha256: 90d5a953fb639f0bb1ed0117bfda14203e992929d79398669d84a10cfe322829

Contents?: true

Size: 301 Bytes

Versions: 3

Compression:

Stored size: 301 Bytes

Contents

module Suricate
  class RequestContext
    extend Forwardable
    def_delegators :@request, :params

    attr_reader :request, :session, :output

    def initialize(options = {})
      @request = options[:request]
      @session = options[:session]
      @output  = options[:output]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
suricate-0.0.4 lib/suricate/request_context.rb
suricate-0.0.3 lib/suricate/request_context.rb
suricate-0.0.2 lib/suricate/request_context.rb