Logo
Explore Help
Sign In
rock-n-code/amiibo-service
1
0
Fork 0
You've already forked amiibo-service
Code Issues 1 Pull Requests Releases 8 Wiki Activity
amiibo-service/Tests/Helpers/Extensions/MockURLRequest+Init.swift

13 lines
176 B
Swift
Raw Normal View History

[Feature] Client (#3) This PR contains the work done to implement the `AmiiboClient` struct that conforms to the `Client` protocol coming from the **Communications** library of the [SwiftLibs package](https://github.com/rock-n-code/swift-libs) To provide further detailks about the work done: - [x] added the `parameters` property to all the existing endpoints; - [x] implemented the `AmiiboClient` client and the `AmiiboClientError` error; - [x] implemented some static formatters in the `DateFormatter+Formatter` extension; - [x] updated the `SwiftLibs` package to its latest version. Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Reviewed-on: https://repo.rock-n-code.com/rock-n-code/amiibo-service/pulls/3
2023-04-19 14:33:48 +00:00
import Communications
import Foundation
extension MockURLRequest {
// MARK: Initialisers
init(url: URL) {
self.init(method: .get, url: url)
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 58ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API