     
     
     
-    class func loginToInstitution(institution: PlaidInstitution,
+    static func loginToInstitution(institution: PlaidInstitution,
                                      username: String,
                                      password: String,
                                           pin: String,

import Foundation


class PlaidSwiftClient {

    //    MARK: Class Functions
    
    class func plaidInstitutions(completionHandler: (response: NSHTTPURLResponse?, institutions: [PlaidInstitution], error: NSError?) -> ()) {
        Alamofire.manager.request(.GET, PlaidURL.institutions).responseJSON {(request, response, data, error) in
            if let institutions = data as? [[String : AnyObject]] {
                let plaidInstitutions = institutions.map { institution in

    }
    
    
    static func downloadTransactions(#accessToken: String,
                                         account: String,
                                         pending: Bool,
                                        fromDate: NSDate?,
