     }
 }
 
-/// Defining API class
+//: Step 2: Create API class
 class GitHubAPI: API {
-    enum Errors: ErrorType {
-        case Some
-    }
-
-    // https://developer.github.com/v3/rate_limit/
-    struct GetRateLimit: GitHubRequest {
-        typealias Response = RateLimit
-
-        var method: HTTPMethod {
-            return .GET
-        }
-
-        var path: String {
-            return "/rate_limit"
-        }
-
-        func responseFromObject(object: AnyObject, URLResponse: NSHTTPURLResponse) throws -> Response {
-            guard let dictionary = object as? [String: AnyObject] else {
-                throw Errors.Some
-            }
-
-            guard let rateLimit = RateLimit(dictionary: dictionary) else {
-                throw Errors.Some
-            }
-
-            return rateLimit
-        }
-    }
 }
 
-/// Model object
+//: Step 3: Create model object
 struct RateLimit {
     let count: Int
     let resetDate: NSDate

    }
}



XCPSetExecutionShouldContinueIndefinitely()

//: Step 1: Define request protocol
protocol GitHubRequest: Request {

}
