Module: Kiss::RequestAccessors

Included in:
Action, Mailer, Model, Model, Template
Defined in:
lib/kiss/accessors/request.rb

Instance Method Summary collapse

Instance Method Details

#app(*args) ⇒ Object



28
29
30
# File 'lib/kiss/accessors/request.rb', line 28

def app(*args)
  request.app_url(*args)
end

#cookiesObject



91
92
93
# File 'lib/kiss/accessors/request.rb', line 91

def cookies
  request.cookies
end

#debug(object) ⇒ Object Also known as: trace



72
73
74
# File 'lib/kiss/accessors/request.rb', line 72

def debug(object)
  request.debug(object, Kernel.caller[0])
end

#envObject



44
45
46
# File 'lib/kiss/accessors/request.rb', line 44

def env
  request.env
end

#file_cache(*args, &block) ⇒ Object



8
9
10
# File 'lib/kiss/accessors/request.rb', line 8

def file_cache(*args, &block)
  request.file_cache(*args, &block)
end

#hostObject



52
53
54
# File 'lib/kiss/accessors/request.rb', line 52

def host
  request.host
end

#loginObject



16
17
18
# File 'lib/kiss/accessors/request.rb', line 16

def 
  request.
end

#modelsObject Also known as: dbm



3
4
5
# File 'lib/kiss/accessors/request.rb', line 3

def models
  request.models
end

#path_infoObject



56
57
58
# File 'lib/kiss/accessors/request.rb', line 56

def path_info
  request.path_info
end

#protocolObject



48
49
50
# File 'lib/kiss/accessors/request.rb', line 48

def protocol
  request.protocol
end

#pub(*args) ⇒ Object



32
33
34
# File 'lib/kiss/accessors/request.rb', line 32

def pub(*args)
  request.pub_url(*args)
end

#query_string_with_paramsObject



60
61
62
# File 'lib/kiss/accessors/request.rb', line 60

def query_string_with_params
  request.query_string_with_params
end

#redirect_action(*args) ⇒ Object



24
25
26
# File 'lib/kiss/accessors/request.rb', line 24

def redirect_action(*args)
  request.redirect_action(*args)
end

#redirect_url(*args) ⇒ Object



20
21
22
# File 'lib/kiss/accessors/request.rb', line 20

def redirect_url(*args)
  request.redirect_url(*args)
end

#request_url_with_paramsObject



64
65
66
# File 'lib/kiss/accessors/request.rb', line 64

def request_url_with_params
  request.request_url_with_params
end

#responseObject



87
88
89
# File 'lib/kiss/accessors/request.rb', line 87

def response
  request.response
end

#send_file(*args) ⇒ Object



36
37
38
# File 'lib/kiss/accessors/request.rb', line 36

def send_file(*args)
  request.send_file(*args)
end

#send_response(*args) ⇒ Object



40
41
42
# File 'lib/kiss/accessors/request.rb', line 40

def send_response(*args)
  request.send_response(*args)
end

#sessionObject



12
13
14
# File 'lib/kiss/accessors/request.rb', line 12

def session
  request.session
end


95
96
97
# File 'lib/kiss/accessors/request.rb', line 95

def set_cookie(*args)
  response.set_cookie(*args)
end

#set_exception_cache(*args) ⇒ Object



68
69
70
# File 'lib/kiss/accessors/request.rb', line 68

def set_exception_cache(*args)
  request.set_exception_cache(*args)
end

#start_benchmark(label = nil) ⇒ Object Also known as: bench



77
78
79
# File 'lib/kiss/accessors/request.rb', line 77

def start_benchmark(label = nil)
  request.start_benchmark(label, Kernel.caller[0])
end

#stop_benchmarkObject Also known as: bench_stop



82
83
84
# File 'lib/kiss/accessors/request.rb', line 82

def stop_benchmark
  request.stop_benchmark(Kernel.caller[0])
end