blob: d5b620c2bbd5424b94cac5049e384718ddf9597a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
//
// TokensList.h
// Juick
//
// Created by Vitaly Takmazov on 27/03/2017.
// Copyright © 2017 com.juick. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface DeviceRegistration : NSObject
@property NSString *type;
@property NSString *token;
-(NSDictionary *) toJSON;
@end
@implementation DeviceRegistration
-(NSDictionary *) toJSON {
return @{
@"type": self.type,
@"token": self.token
};
}
@end
|