Functionally complete new example.

This commit is contained in:
Jeremy Ellison
2011-01-11 13:57:28 -05:00
parent 378aaac12b
commit a4e7e60467
17 changed files with 79 additions and 41 deletions

View File

@@ -15,6 +15,7 @@
@dynamic userID;
@dynamic createdAt;
@dynamic updatedAt;
@dynamic username;
#pragma mark RKObjectMappable methods
@@ -24,7 +25,8 @@
@"name",@"name",
@"user_id",@"userID",
@"created_at",@"createdAt",
@"updated_at",@"updatedAt",
@"updated_at",@"updatedAt",
@"user_login", @"username",
nil];
}
@@ -32,7 +34,7 @@
return @"topicID";
}
- (NSDictionary*)paramsForSerialization {
- (id<RKRequestSerializable>)paramsForSerialization {
return [NSDictionary dictionaryWithObjectsAndKeys:
self.name, @"topic[name]", nil];
}