Skip to content

Commit 4bc001a

Browse files
committed
Merge branch 'merge/custom-requestBodyBuilder-for-individual-request'
2 parents 4ae948b + c8f1cb6 commit 4bc001a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

APIKit/API.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class API {
3535
)
3636

3737
// build NSURLRequest
38-
public class func URLRequest(method: Method, _ path: String, _ parameters: [String: AnyObject] = [:]) -> NSURLRequest? {
38+
public class func URLRequest(method: Method, _ path: String, _ parameters: [String: AnyObject] = [:], requestBodyBuilder: RequestBodyBuilder = requestBodyBuilder) -> NSURLRequest? {
3939
if let components = NSURLComponents(URL: baseURL, resolvingAgainstBaseURL: true) {
4040
let request = NSMutableURLRequest()
4141

Cartfile.resolved

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
github "antitypical/Assertions" "19bac03828dcb2f9b9ecb7f829e09bb3900886e5"
22
github "LlamaKit/LlamaKit" "v0.6.0"
3-
github "AliSoftware/OHHTTPStubs" "4.0.0"
3+
github "AliSoftware/OHHTTPStubs" "4.0.1"

0 commit comments

Comments
 (0)