Sha256: c85b9162d6de4c6feccae3d00daada01b8cb6ffd43d784cd3bf74f9f8d640ecb
Contents?: true
Size: 325 Bytes
Versions: 2
Compression:
Stored size: 325 Bytes
Contents
module Nephos class Controller attr_reader :env, :infos # @params: env [Hash] env extracted from the http request # @params: parsed [Hash] pre-parsed env with parameters, ... def initialize env, parsed @env= env @infos= parsed end def arguments @infos[:args] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nephos-server-0.1.5 | lib/nephos-server/routing/controller.rb |
nephos-server-0.1.4 | lib/nephos-server/routing/controller.rb |