         showIndicator: Bool = false,
         responseType: ResponseType = .json,
         success: @escaping SuccessTask,
-        failure: @escaping FailTask)
-    {
+        failure: @escaping FailureTask
+    ) {
         RGNetwork.request(
             config: config,
             queue: queue,

            timeoutInterval: timeoutInterval
        )
    }
    
}



import Alamofire

class RGNetworkRequest {

    let urlString: String
    let method: HTTPMethod
    let parameters: Parameters?
