diff options
author | Vitaly Takmazov | 2019-03-20 02:35:23 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-03-20 02:35:23 +0300 |
commit | 458e55b9cddcadb2bbbe3fb4002f06a5744b84c0 (patch) | |
tree | aa32d167c3a6914b1fd326085e94d2a2cb43b057 /Juick/Model/DeviceRegistration.m | |
parent | 1f3e08f107064fa429c6aa2a26702f6e63a791f0 (diff) |
Move all API calls to APIClient
Diffstat (limited to 'Juick/Model/DeviceRegistration.m')
-rw-r--r-- | Juick/Model/DeviceRegistration.m | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Juick/Model/DeviceRegistration.m b/Juick/Model/DeviceRegistration.m new file mode 100644 index 0000000..c1728f4 --- /dev/null +++ b/Juick/Model/DeviceRegistration.m @@ -0,0 +1,19 @@ +// +// DeviceRegistration.m +// Juick +// +// Created by Vitaly Takmazov on 20/03/2019. +// Copyright © 2019 com.juick. All rights reserved. +// + +#import <Foundation/Foundation.h> +#import "DeviceRegistration.h" + +@implementation DeviceRegistration +-(NSDictionary *) toJSON { + return @{ + @"type": self.type, + @"token": self.token + }; +} +@end |