summaryrefslogtreecommitdiff
path: root/Juick/Model
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-10-18 01:48:34 +0300
committerGravatar Vitaly Takmazov2017-10-18 01:48:34 +0300
commit2345989ce454342d8ac45077e2cd650d18744066 (patch)
treea1c529b1dadab49c76b82da80044cc4a80d32ec0 /Juick/Model
parent07afcd6f36629f30a495f2be47262c75c006712f (diff)
device registration
Diffstat (limited to 'Juick/Model')
-rw-r--r--Juick/Model/DeviceRegistration.h (renamed from Juick/Model/TokensList.h)7
-rw-r--r--Juick/Model/TokensList.m13
2 files changed, 5 insertions, 15 deletions
diff --git a/Juick/Model/TokensList.h b/Juick/Model/DeviceRegistration.h
index 9ed5ab0..e629637 100644
--- a/Juick/Model/TokensList.h
+++ b/Juick/Model/DeviceRegistration.h
@@ -8,7 +8,10 @@
#import <Foundation/Foundation.h>
-@interface TokensList : NSObject
+@interface DeviceRegistration : NSObject
@property NSString *type;
-@property NSArray<NSString *> *tokens;
+@property NSString *token;
+@end
+
+@implementation DeviceRegistration
@end
diff --git a/Juick/Model/TokensList.m b/Juick/Model/TokensList.m
deleted file mode 100644
index 5cfe6a6..0000000
--- a/Juick/Model/TokensList.m
+++ /dev/null
@@ -1,13 +0,0 @@
-//
-// TokensList.m
-// Juick
-//
-// Created by Vitaly Takmazov on 27/03/2017.
-// Copyright © 2017 com.juick. All rights reserved.
-//
-
-#import "TokensList.h"
-
-@implementation TokensList
-
-@end