-
Notifications
You must be signed in to change notification settings - Fork 5
/
RailsRequest.m
52 lines (44 loc) · 918 Bytes
/
RailsRequest.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
// RailsRequest.m
// Spike
//
// Created by Matt Mower on 13/02/2009.
// Copyright 2009 LucidMac Software. All rights reserved.
//
#import "RailsRequest.h"
#import "Parameter.h"
@implementation RailsRequest
- (id)init {
if( ( self = [super init] ) ) {
renders = [[NSMutableArray alloc] init];
}
return self;
}
- (void)postProcess {
[self setFormat:@""];
for( Parameter *param in params ) {
if( [[param name] isEqualToString:@"format"] ) {
[self setFormat:[param value]];
}
}
}
@synthesize status;
@synthesize method;
@synthesize when;
@synthesize client;
@synthesize url;
@synthesize redirect;
@synthesize controller;
@synthesize action;
@synthesize format;
@synthesize session;
@synthesize rps;
@synthesize realTime;
@synthesize renderTime;
@synthesize dbTime;
@synthesize params;
@synthesize renders;
@synthesize sourceLog;
@synthesize halted;
@synthesize filter;
@end