         return Promise<T?> { (fulfill, reject) -> Void in
             
             func parsingError(erroString : String) -> NSError {
-                return NSError(domain: "org.septa.error", code: -100, userInfo: nil)
+                return NSError(domain: "org.septa.SimpleRestClient", code: -100, userInfo: nil)
             }
             
             request(route.URLString, method: method, parameters: parameters, headers: headers).responseJSON { (response) -> Void in
                 
-                debugPrint(response.result.value ?? "Warning: empty response")   // result of response serialization
+                // debugPrint(response.result.value ?? "Warning: empty response")   // dump the response
 
                 if let error = response.result.error {
                     reject(error) //network error

                        }
                    }
                    else {
                        let err = NSError(domain: "org.septa.error", code: -101, userInfo: nil)
                        reject(err)
                    }
                }

import ObjectMapper


class SimpleRestClient : NSObject {
    
    private var url : String;
    private var apiKey : String?;
