 
 /// Abstract Base Service, sets up a default implementations of the Service protocol. Defaults the service path and version into empty strings.
 open class AbstractBaseService: NSObject, Service {
-
     open var networkManager: NetworkManager
-
+    
     open var token: APIToken?
     
     open var stubs:[ServiceStub] = [ServiceStub]()
-
+    
     open var currentConfiguration: APIConfiguration {
         return self.networkManager.configuration
     }
-
+    
     /// Init method for an Service, each service must have the current token auth and access to the networkManager to execute requests
     ///
     /// - Parameters:

        self.token = token
        self.networkManager = networkManager
    }

    /// Currently supported version of the service
    open var serviceVersion: String {
        return ""
    }

    /// Name here your service path
    open var servicePath: String {
        return ""
    }

    /// Returns the baseURL for this service, default is the current configuration URL
    open var baseURL: String {
        return currentConfiguration.baseURL
    }

    /// Returns a local path for an API request, this includes the service version and name. i.e v4/accounts/user_profile
    ///
    /// - Parameter query: api local path
    /// - Returns: local path to the api for the given query
    open func servicePath(for query: String) -> String {
        var fullPath = self.baseURL
        if (!self.servicePath.isEmpty) {
            fullPath += "/" + self.servicePath
        }

        fullPath += "/" + query
        return fullPath
    }
    
    /// Returns if this service has a valid token for authentication with our systems
    open var isAuthenticated: Bool {
        return (APITokenManager.currentToken != nil)
    }
    
    /// Creates and executes a request using our default Network Manager
    ///
    /// - Parameters:
    ///   - path: full path to the URL
    ///   - baseUrlOverride: manual override of default base URL
    ///   - method: HTTP method, default is GET
    ///   - parameters: URL or body parameters depending on the HTTP method, default is empty
    ///   - paginated: if the request should follow pagination, success only if all pages are completed
