Skip to content

Commit

Permalink
Revert "Response initializer now has internal ACL since it does not n…
Browse files Browse the repository at this point in the history
…eed to be public."

This reverts commit f5ebe3b. After more investigation, the `Response` struct initializer definitely needs to be public.
  • Loading branch information
cnoon committed Sep 26, 2015
1 parent 593dd64 commit ba280a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Response.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public struct Response<Value, Error: ErrorType> {
- returns: the new `Response` instance.
*/
init(request: NSURLRequest?, response: NSHTTPURLResponse?, data: NSData?, result: Result<Value, Error>) {
public init(request: NSURLRequest?, response: NSHTTPURLResponse?, data: NSData?, result: Result<Value, Error>) {
self.request = request
self.response = response
self.data = data
Expand Down

0 comments on commit ba280a4

Please sign in to comment.