From cac61135bfade724a1b296a8332c972868e91e8e Mon Sep 17 00:00:00 2001 From: Andrew Edwards Date: Fri, 14 Jun 2019 19:04:14 -0400 Subject: [PATCH] Made initializer public. --- Sources/StripeKit/API/StripeClient.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/StripeKit/API/StripeClient.swift b/Sources/StripeKit/API/StripeClient.swift index 375c6ff8..b4db6ebf 100644 --- a/Sources/StripeKit/API/StripeClient.swift +++ b/Sources/StripeKit/API/StripeClient.swift @@ -61,7 +61,7 @@ public final class StripeClient { public var readers: ReaderRoutes public var scheduledQueryRuns: ScheduledQueryRunRoutes - init(eventLoop: EventLoopGroup, apiKey: String) { + public init(eventLoop: EventLoopGroup, apiKey: String) { let client = HTTPClient(eventLoopGroupProvider: .shared(eventLoop)) let handler = StripeDefaultAPIHandler(httpClient: client, apiKey: apiKey)