class Gors::Request

Attributes

request[RW]
response[RW]

Public Class Methods

new() click to toggle source
# File lib/gors.rb, line 201
def initialize
   @response = OpenStruct.new ({:headers => {}, :status_code => "200"})
   @request =  OpenStruct.new ({:ip => "",:user_agent => "",:headers => {},:params => {}})
end

Public Instance Methods

info() click to toggle source
# File lib/gors.rb, line 206
def info
  return @info
end