Skip to content

Commit

Permalink
Merge branch 'merge/custom-requestBodyBuilder-for-individual-request'
Browse files Browse the repository at this point in the history
  • Loading branch information
ishkawa committed May 5, 2015
2 parents 4ae948b + c8f1cb6 commit 4bc001a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion APIKit/API.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class API {
)

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

Expand Down
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
github "antitypical/Assertions" "19bac03828dcb2f9b9ecb7f829e09bb3900886e5"
github "LlamaKit/LlamaKit" "v0.6.0"
github "AliSoftware/OHHTTPStubs" "4.0.0"
github "AliSoftware/OHHTTPStubs" "4.0.1"
2 changes: 1 addition & 1 deletion Carthage/Checkouts/OHHTTPStubs
Submodule OHHTTPStubs updated 25 files
+4 −0 CHANGELOG.md
+3 −3 Examples/ObjC/Podfile.lock
+4 −4 Examples/ObjC/Pods/Local Podspecs/OHHTTPStubs.podspec.json
+3 −3 Examples/ObjC/Pods/Manifest.lock
+216 −216 Examples/ObjC/Pods/Pods.xcodeproj/project.pbxproj
+1 −1 Examples/ObjC/Pods/Target Support Files/Pods/Pods-environment.h
+3 −3 Examples/Swift/Podfile.lock
+4 −4 Examples/Swift/Pods/Local Podspecs/OHHTTPStubs.podspec.json
+3 −3 Examples/Swift/Pods/Manifest.lock
+234 −234 Examples/Swift/Pods/Pods.xcodeproj/project.pbxproj
+1 −1 Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Info.plist
+1 −1 Examples/Swift/Pods/Target Support Files/Pods/Pods-environment.h
+2 −2 Examples/Swift/Pods/Target Support Files/Pods/Pods-frameworks.sh
+1 −1 Examples/Swift/Pods/Target Support Files/Pods/Pods.debug.xcconfig
+1 −1 Examples/Swift/Pods/Target Support Files/Pods/Pods.release.xcconfig
+7 −2 OHHTTPStubs.podspec
+1 −1 OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs Mac Framework.xcscheme
+1 −1 OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS Framework.xcscheme
+1 −1 OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS StaticLib.xcscheme
+1 −0 OHHTTPStubs/Podfile
+1 −1 OHHTTPStubs/Podfile.lock
+1 −1 OHHTTPStubs/Pods/Manifest.lock
+498 −498 OHHTTPStubs/Pods/Pods.xcodeproj/project.pbxproj
+18 −12 OHHTTPStubs/Sources/OHHTTPStubs.m
+2 −0 OHHTTPStubs/UnitTests/Test Suites/TimingTests.m

0 comments on commit 4bc001a

Please sign in to comment.