Skip to content

Commit

Permalink
Merge pull request #2 from Flagsmith/handle-new-feature-types
Browse files Browse the repository at this point in the history
Handle new feature types
  • Loading branch information
benrometsch authored Apr 14, 2021
2 parents 0ba6d9c + 4955e6f commit ed99b62
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions BulletTrainClient/Classes/Feature.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,8 @@ public struct Feature: Decodable {
case description
}

public enum FeatureType: String, Decodable {
case flag = "FLAG"
case config = "CONFIG"
}

/// The name of the feature
public let name: String
public let type: FeatureType
public let type: String?
public let description: String?
}

0 comments on commit ed99b62

Please sign in to comment.