mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-19 00:56:48 +08:00
move header constant to environment. move setting/clearing of user token header to user model.
16 lines
532 B
Objective-C
16 lines
532 B
Objective-C
//
|
|
// DBEnvironment.m
|
|
// DiscussionBoard
|
|
//
|
|
// Created by Daniel Hammond on 1/7/11.
|
|
// Copyright 2011 Two Toasters. All rights reserved.
|
|
//
|
|
|
|
#import "DBEnvironment.h"
|
|
|
|
// TODO: Add conditional compilation!
|
|
NSString* const DBRestKitBaseURL = @"http://localhost:3000";
|
|
//NSString* const kDBBaseURLString = @"http://discussionboard.heroku.com";
|
|
NSString* const kObjectCreatedUpdatedOrDestroyedNotificationName = @"kObjectCreatedUpdatedOrDestroyedNotificationName";
|
|
|
|
NSString* const kAccessTokenHeaderField = @"X-USER-ACCESS-TOKEN"; |