Module: Kiss::RequestAccessors
Instance Method Summary collapse
- #app(*args) ⇒ Object
- #cookies ⇒ Object
- #debug(object) ⇒ Object (also: #trace)
- #env ⇒ Object
- #file_cache(*args, &block) ⇒ Object
- #host ⇒ Object
- #login ⇒ Object
- #models ⇒ Object (also: #dbm)
- #path_info ⇒ Object
- #protocol ⇒ Object
- #pub(*args) ⇒ Object
- #query_string_with_params ⇒ Object
- #redirect_action(*args) ⇒ Object
- #redirect_url(*args) ⇒ Object
- #request_url_with_params ⇒ Object
- #response ⇒ Object
- #send_file(*args) ⇒ Object
- #send_response(*args) ⇒ Object
- #session ⇒ Object
- #set_cookie(*args) ⇒ Object
- #set_exception_cache(*args) ⇒ Object
- #start_benchmark(label = nil) ⇒ Object (also: #bench)
- #stop_benchmark ⇒ Object (also: #bench_stop)
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 |
#cookies ⇒ Object
91 92 93 |
# File 'lib/kiss/accessors/request.rb', line 91 def request. 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 |
#env ⇒ Object
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 |
#host ⇒ Object
52 53 54 |
# File 'lib/kiss/accessors/request.rb', line 52 def host request.host end |
#login ⇒ Object
16 17 18 |
# File 'lib/kiss/accessors/request.rb', line 16 def login request.login end |
#models ⇒ Object Also known as: dbm
3 4 5 |
# File 'lib/kiss/accessors/request.rb', line 3 def models request.models end |
#path_info ⇒ Object
56 57 58 |
# File 'lib/kiss/accessors/request.rb', line 56 def path_info request.path_info end |
#protocol ⇒ Object
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_params ⇒ Object
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_params ⇒ Object
64 65 66 |
# File 'lib/kiss/accessors/request.rb', line 64 def request_url_with_params request.request_url_with_params end |
#response ⇒ Object
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 |
#session ⇒ Object
12 13 14 |
# File 'lib/kiss/accessors/request.rb', line 12 def session request.session end |
#set_cookie(*args) ⇒ Object
95 96 97 |
# File 'lib/kiss/accessors/request.rb', line 95 def (*args) response.(*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_benchmark ⇒ Object 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 |