We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0957e3 commit f47e0e0Copy full SHA for f47e0e0
Networking/Networking/Mapper/SitePluginMapper.swift
@@ -11,6 +11,11 @@ struct SitePluginMapper: Mapper {
11
12
private let withDataEnvelope: Bool
13
14
+ /// Initialized a mapper to serialize site plugins.
15
+ /// - Parameters:
16
+ /// - siteID: Identifier for the site. Only required in authenticated state.
17
+ /// - withDataEnvelope: Whether site plugin details are wrapped inside a `data` field.
18
+ ///
19
init(siteID: Int64 = -1, withDataEnvelope: Bool = true) {
20
self.siteID = siteID
21
self.withDataEnvelope = withDataEnvelope
0 commit comments