From 88e5bcd6e54869ff858aff5c3b5b2a9e9599a32b Mon Sep 17 00:00:00 2001 From: Wes Billman Date: Sun, 21 May 2017 10:37:59 -0600 Subject: [PATCH] Make JSONFeedReader init public --- JSONFeed/JSONFeedReader.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JSONFeed/JSONFeedReader.swift b/JSONFeed/JSONFeedReader.swift index 7de5c7b..9e3cec6 100644 --- a/JSONFeed/JSONFeedReader.swift +++ b/JSONFeed/JSONFeedReader.swift @@ -13,7 +13,7 @@ public enum JSONFeedReaderError: Error { public class JSONFeedReader { private let session: URLSession - init(session: URLSession = URLSession(configuration: URLSessionConfiguration.default)) { + public init(session: URLSession = URLSession(configuration: URLSessionConfiguration.default)) { self.session = session }