mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-22 11:04:49 +08:00
Change MyCompany stuff to Two Toasters
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// DiscussionBoard
|
||||
//
|
||||
// Created by Jeremy Ellison on 1/7/11.
|
||||
// Copyright 2011 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2011 Two Toasters. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
@@ -28,4 +28,4 @@
|
||||
|
||||
@property (nonatomic, retain) UIImage* newAttachment;
|
||||
|
||||
@end
|
||||
@end
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// DiscussionBoard
|
||||
//
|
||||
// Created by Jeremy Ellison on 1/7/11.
|
||||
// Copyright 2011 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2011 Two Toasters. All rights reserved.
|
||||
//
|
||||
|
||||
#import "DBPost.h"
|
||||
@@ -28,10 +28,10 @@
|
||||
|
||||
+ (NSDictionary*)elementToPropertyMappings {
|
||||
return [NSDictionary dictionaryWithKeysAndObjects:
|
||||
@"id",@"postID",
|
||||
@"id",@"postID",
|
||||
@"topic_id",@"topicID",
|
||||
@"user_id",@"userID",
|
||||
@"created_at",@"createdAt",
|
||||
@"created_at",@"createdAt",
|
||||
@"updated_at",@"updatedAt",
|
||||
@"attachment_content_type", @"attachmentContentType",
|
||||
@"attachment_file_name", @"attachmentFileName",
|
||||
@@ -57,7 +57,7 @@
|
||||
RKParamsAttachment* attachment = [params setData:data MIMEType:@"application/octet-stream" forParam:@"post[attachment]"];
|
||||
attachment.fileName = @"image.png";
|
||||
}
|
||||
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// DiscussionBoard
|
||||
//
|
||||
// Created by Jeremy Ellison on 1/10/11.
|
||||
// Copyright 2011 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2011 Two Toasters. All rights reserved.
|
||||
//
|
||||
|
||||
#import <RestKit/RestKit.h>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// DiscussionBoard
|
||||
//
|
||||
// Created by Jeremy Ellison on 1/10/11.
|
||||
// Copyright 2011 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2011 Two Toasters. All rights reserved.
|
||||
//
|
||||
|
||||
#import "DBUser.h"
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
+ (NSDictionary*)elementToPropertyMappings {
|
||||
return [NSDictionary dictionaryWithKeysAndObjects:
|
||||
@"id",@"userID",
|
||||
@"id",@"userID",
|
||||
@"email",@"email",
|
||||
@"login",@"login",
|
||||
@"single_access_token",@"singleAccessToken",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// DiscussionBoard
|
||||
//
|
||||
// Created by Jeremy Ellison on 1/12/11.
|
||||
// Copyright 2011 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2011 Two Toasters. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// DiscussionBoard
|
||||
//
|
||||
// Created by Jeremy Ellison on 1/12/11.
|
||||
// Copyright 2011 __MyCompanyName__. All rights reserved.
|
||||
// Copyright 2011 Two Toasters. All rights reserved.
|
||||
//
|
||||
|
||||
#import "RKRequestTTModel+Loading.h"
|
||||
|
||||
Reference in New Issue
Block a user