Skip to content

Commit

Permalink
Better APIs customisation support.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Lopes committed Mar 12, 2019
1 parent 8d112a5 commit 2b6afbc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/resources/MinderaSwift4/APIs.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ open class {{projectName}}API {
}

open class RequestBuilder<T> {
var credential: URLCredential?
var headers: [String:String]
public let parameters: [String:Any]?
public let isBody: Bool
public let method: String
public let URLString: String
open var credential: URLCredential?
open var headers: [String:String]
open let parameters: [String:Any]?
open let isBody: Bool
open let method: String
open let URLString: String
/// Optional block to obtain a reference to the request's progress instance when available.
public var onProgressReady: ((Progress) -> ())?
Expand Down

0 comments on commit 2b6afbc

Please sign in to comment.