Implemented convenience initialisers for the GetAmiiboEndpoint, GetCharacterEndpoint, GetGameSeriesEndpoint, GetSeriesEndpoint and the GetTypeEndpoint endpoint extensions.
This commit is contained in:
parent
102302935f
commit
4292885031
11
Tests/Helpers/Extensions/GetAmiiboEndpoint+Init.swift
Normal file
11
Tests/Helpers/Extensions/GetAmiiboEndpoint+Init.swift
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
@testable import AmiiboService
|
||||||
|
|
||||||
|
extension GetAmiiboEndpoint {
|
||||||
|
|
||||||
|
// MARK: Initialisers
|
||||||
|
|
||||||
|
init() {
|
||||||
|
self.init(parameters: .init())
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
11
Tests/Helpers/Extensions/GetCharacterEndpoint+Init.swift
Normal file
11
Tests/Helpers/Extensions/GetCharacterEndpoint+Init.swift
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
@testable import AmiiboService
|
||||||
|
|
||||||
|
extension GetCharacterEndpoint {
|
||||||
|
|
||||||
|
// MARK: Initialisers
|
||||||
|
|
||||||
|
init() {
|
||||||
|
self.init(parameters: .init())
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
11
Tests/Helpers/Extensions/GetGameSeriesEndpoint+Init.swift
Normal file
11
Tests/Helpers/Extensions/GetGameSeriesEndpoint+Init.swift
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
@testable import AmiiboService
|
||||||
|
|
||||||
|
extension GetGameSeriesEndpoint {
|
||||||
|
|
||||||
|
// MARK: Initialisers
|
||||||
|
|
||||||
|
init() {
|
||||||
|
self.init(parameters: .init())
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
11
Tests/Helpers/Extensions/GetSeriesEndpoint+Init.swift
Normal file
11
Tests/Helpers/Extensions/GetSeriesEndpoint+Init.swift
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
@testable import AmiiboService
|
||||||
|
|
||||||
|
extension GetSeriesEndpoint {
|
||||||
|
|
||||||
|
// MARK: Initialisers
|
||||||
|
|
||||||
|
init() {
|
||||||
|
self.init(parameters: .init())
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
11
Tests/Helpers/Extensions/GetTypeEndpoint+Init.swift
Normal file
11
Tests/Helpers/Extensions/GetTypeEndpoint+Init.swift
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
@testable import AmiiboService
|
||||||
|
|
||||||
|
extension GetTypeEndpoint {
|
||||||
|
|
||||||
|
// MARK: Initialisers
|
||||||
|
|
||||||
|
init() {
|
||||||
|
self.init(parameters: .init())
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user