mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-01 22:42:51 +08:00
24 lines
596 B
Objective-C
24 lines
596 B
Objective-C
//
|
|
// RKRequestDescriptor.h
|
|
// RestKit
|
|
//
|
|
// Created by Blake Watters on 8/24/12.
|
|
// Copyright (c) 2012 RestKit. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@class RKMapping;
|
|
|
|
@interface RKRequestDescriptor : NSObject
|
|
|
|
+ (id)requestDescriptorWithMapping:(RKMapping *)mapping
|
|
objectClass:(Class)objectClass
|
|
rootKeyPath:(NSString *)rootKeyPath;
|
|
|
|
@property (nonatomic, strong, readonly) RKMapping *mapping;
|
|
@property (nonatomic, strong, readonly) Class objectClass;
|
|
@property (nonatomic, copy, readonly) NSString *rootKeyPath;
|
|
|
|
@end
|