File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ import Foundation
289
289
self . delegate? . unsubscribedFromInterest ? ( name: interest)
290
290
}
291
291
292
- self . delegate? . debugLog ? ( message: " Success making \( change. stringValue ) to \( interests) " )
292
+ self . delegate? . debugLog ? ( message: " Success making \( change. rawValue ) to \( interests) " )
293
293
294
294
self . failedRequestAttempts = 0
295
295
successCallback ( nil )
@@ -312,22 +312,11 @@ import Foundation
312
312
}
313
313
}
314
314
315
- internal enum SubscriptionChange {
315
+ internal enum SubscriptionChange : String {
316
316
case subscribe
317
317
case setSubscriptions
318
318
case unsubscribe
319
319
320
- internal func stringValue( ) -> String {
321
- switch self {
322
- case . subscribe:
323
- return " subscribe "
324
- case . setSubscriptions:
325
- return " setSubscriptions "
326
- case . unsubscribe:
327
- return " unsubscribe "
328
- }
329
- }
330
-
331
320
internal func httpMethod( ) -> String {
332
321
switch self {
333
322
case . subscribe:
You can’t perform that action at this time.
0 commit comments