Giuseppe Nucifora 33672c87eb - Fix class naming in default classes
- Add User in PNInstallation
- Varius fix
2016-04-29 11:26:44 +02:00

38 lines
782 B
Objective-C

//
// PNAddress.m
// Pods
//
// Created by Giuseppe Nucifora on 13/01/16.
//
//
#import "PNAddress.h"
@implementation PNAddress
+ (NSString *) objectClassName {
return @"PNAddress";
}
+ (NSString *)objectEndPoint {
return @"PNAddress";
}
+ (NSDictionary *) objcetMapping {
NSDictionary *mapping = @{@"country":@"country",
@"province":@"province",
@"city":@"city",
@"street":@"street",
@"number":@"number",
@"zip":@"zip",
@"location":@{@"key":@"location",@"type":@"PNLocation"},
};
return mapping;
}
+ (BOOL)singleInstance {
return NO;
}
@end