Skip to content

Commit f47e0e0

Browse files
committed
Update comment for SitePluginMapper initializer
1 parent a0957e3 commit f47e0e0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Networking/Networking/Mapper/SitePluginMapper.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ struct SitePluginMapper: Mapper {
1111

1212
private let withDataEnvelope: Bool
1313

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+
///
1419
init(siteID: Int64 = -1, withDataEnvelope: Bool = true) {
1520
self.siteID = siteID
1621
self.withDataEnvelope = withDataEnvelope

0 commit comments

Comments
 (0)