Defined the constants for the String+Path extension.
This commit is contained in:
parent
ebcb7439d6
commit
0780c09c01
10
Sources/Extensions/String+Path.swift
Normal file
10
Sources/Extensions/String+Path.swift
Normal file
@ -0,0 +1,10 @@
|
||||
extension String {
|
||||
enum Path {
|
||||
static let amiibo = "/api/amiibo/"
|
||||
static let type = "/api/type"
|
||||
static let gameSeries = "/api/gameseries"
|
||||
static let series = "/api/amiiboseries"
|
||||
static let character = "/api/character"
|
||||
static let lastUpdated = "/api/lastupdated"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user