Skip to content

Commit 96650ed

Browse files
authored
vk-incidents-options-init: exposed public init for IncidentsOptions (#4093)
1 parent ad7584b commit 96650ed

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Sources/MapboxCoreNavigation/IncidentsOptions.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,12 @@ public struct IncidentsOptions {
1919
If `nil` is supplied will use a default url.
2020
*/
2121
public var apiURL: URL?
22+
23+
/**
24+
Creates new `IncidentsOptions`
25+
*/
26+
public init(graph: String, apiURL: URL?) {
27+
self.graph = graph
28+
self.apiURL = apiURL
29+
}
2230
}

0 commit comments

Comments
 (0)