         task.resume()
     }
     
-    func PATCH(endpoint: String, parameters: [String: String]?, completion: (responseObject: JSONObject?, error: ErrorType?) -> Void) {
+    public func PATCH(endpoint: String, parameters: [String: String]?, completion: (responseObject: JSONObject?, error: ErrorType?) -> Void) {
         if appState.accessToken == nil {
             // TODO: Force authentication
         }

import Foundation
import JaSON

protocol AppStateRepresentable {
    var accessToken: String? { get }
    var loggedIn: Bool { get }
    var networkPath: String { get }

        task.resume()
    }
    
    public func logOut() {
        appState.deleteToken()
    }
    
    public func GET(endpoint: String, parameters: [String: String]?, completion: (responseObject: JSONObject?, error: ErrorType?) -> Void) {
        if appState.accessToken == nil {
            // TODO: Force authentication
        }
