mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-23 20:31:13 +08:00
Functionally complete new example.
This commit is contained in:
@@ -157,7 +157,7 @@
|
||||
return [self valueForKey:[[self class] primaryKeyProperty]];
|
||||
}
|
||||
|
||||
- (NSDictionary*)paramsForSerialization {
|
||||
- (id<RKRequestSerializable>)paramsForSerialization {
|
||||
NSMutableDictionary* params = [NSMutableDictionary dictionary];
|
||||
for (NSString* elementName in [[self class] elementToPropertyMappings]) {
|
||||
NSString* propertyName = [[[self class] elementToPropertyMappings] objectForKey:elementName];
|
||||
|
||||
Reference in New Issue
Block a user