             }
             catch _ {}
             
-            return WebAPIOperation.Post(data: data!)
+            return WebAPIOperations.Post(data: data!)
         case .Lookup:
             return .Get
         }
     }
-    
-    
-    /// Function that generates the query parameter portion of the URL.
-    /// Always encodes the API Key into the string.  Then optionally includes
-    /// any passed parameters.
-    func queryString(queryParameters: [String: String]? = nil) -> String {
-        var qs: String = "?key=\(GoogleURLShortenerRouter.apiKey)"
-
-        if let p = queryParameters {
-            for (k, value) in p {
-                if let encodedValue = value.stringByAddingPercentEncodingWithAllowedCharacters(NSCharacterSet.URLQueryAllowedCharacterSet()) {
-                    qs += "&\(k)=\(encodedValue)"
-                }
-            }
-        }
-
-        return qs
-    }
-}
+}
        return request
    }
    
    var method: WebAPIOperation {
        switch self {
        case let .Shorten(longURL):
            var data: NSData?

        }
    }
    
    /// Function that generates the query parameter portion of the URL.
    /// Always encodes the API Key into the string.  Then optionally includes
    /// any passed parameters.
    ///
    /// - parameter queryParameters: A [String: String]? dictionary of
    /// query parameters to encode into the url
    /// - returns: a url represented as a String
    func queryString(queryParameters: [String: String]? = nil) -> String {
        var qs: String = "?key=\(GoogleURLShortenerRouter.apiKey)"

        if let p = queryParameters {
            for (k, value) in p {
                if let encodedValue = value.stringByAddingPercentEncodingWithAllowedCharacters(NSCharacterSet.URLQueryAllowedCharacterSet()) {
                    qs += "&\(k)=\(encodedValue)"
                }
            }
        }

        return qs
    }
}




extension GoogleURLShortenerRouter: WebAPIRouter {

    /// WebAPIRouter protocol property that returns a NSMutableURLRequest
    var request: NSMutableURLRequest? {
        var request: NSMutableURLRequest?
        
