     public func task(showIndicator: Bool = false,
                      responseType: ResponseType = .json,
                      success: @escaping SuccessTask,
-                     failure: @escaping FailTask)
+                     failure: @escaping FailureTask)
     {
         RGNetwork.request(
             with: urlString,

import Alamofire

class RGNetworkRequest {
    
    let urlString: String
    let method: HTTPMethod
    let parameters: Parameters?

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