      
     - returns: Bool
     */
-    func isNew() -> Bool {
+    public func isNew() -> Bool {
         if (self.data["id"].isExists()) {
             return false
         }

    - parameter success : Success handler callback. `nil` by default.
    - parameter error   : Error handler callback. `nil` by default.
    */
    func request(method method:String = "get", url: String = "", data parameters: Dictionary<String, AnyObject> = [:], headers: Dictionary<String, String> = [:], encoding: ParameterEncoding = .URL, success: ((response: JSON) -> ())? = nil, error: ((response: JSON) -> ())? = nil) {
        
        var requestMethod: Alamofire.Method
        

    - parameter success: Success handler callback. `nil` by default.
    - parameter error  : Error handler callback. `nil` by default.
    */
    public func destroy(success success: ((response: JSON) -> ())? = nil, error: ((response: JSON) -> ())? = nil) {
        if (!self.isNew()) {
            self.request(method: "delete", url: self.rootUrl + "/" + self.data["id"].stringValue, success: success, error: error)
        }
