Files
RestKit/TestSerialization.m
2009-09-03 14:16:37 -04:00

29 lines
717 B
Objective-C

//
// TestSerialization.m
// OTRestFramework
//
// Created by Jeremy Ellison on 8/17/09.
// Copyright 2009 Objective3. All rights reserved.
//
#import "TestSerialization.h"
@implementation TestSerialization
@synthesize dateTest = _dateTest, numberTest = _numberTest, stringTest = _stringTest,
hasOne = _hasOne, hasMany = _hasMany;
+ (NSDictionary*)elementToPropertyMappings {
return [NSDictionary dictionaryWithObjectsAndKeys:@"dateTest", @"date_test",
@"numberTest", @"number_test",
@"stringTest", @"string_test", nil];
}
+ (NSDictionary*)elementToRelationshipMappings {
return [NSDictionary dictionaryWithObjectsAndKeys:@"hasOne", @"has_one",
@"hasMany", @"has_manys > has_many", nil];
}
@end