ActiveResourceKit  v1.2 (498.0)
 All Classes Files Functions Variables Typedefs Enumerator Properties Macros Pages
Functions | Variables
ARService+Private.m File Reference
#import "ARService+Private.h"
#import "ARConnection.h"
#import <ActiveResourceKit/ActiveResourceKit.h>
#import <ActiveModelKit/ActiveModelKit.h>
#import <ActiveSupportKit/ActiveSupportKit.h>
Include dependency graph for ARService+Private.m:

Go to the source code of this file.

Functions

NSString * ARQueryStringForOptions (NSDictionary *options)
 Builds a query string given a dictionary of query options.
 

Variables

NSString *const ARFromKey = @"from"
 
NSString *const ARParamsKey = @"params"
 

Function Documentation

NSString* ARQueryStringForOptions ( NSDictionary *  options)

Builds a query string given a dictionary of query options.

Parameters
optionsDictionary (a Ruby hash) of query options.
Returns
The answer is an empty string when you pass nil options or the options indicate an empty dictionary. This function assumes that the given options are query options only; they should not contain prefix options; otherwise prefix options will appear in the query string. Invoking this helper function assumes you have already filtered any options by splitting apart prefix from query options.

Definition at line 35 of file ARService+Private.m.

Variable Documentation

NSString* const ARFromKey = @"from"

Definition at line 32 of file ARService+Private.m.

NSString* const ARParamsKey = @"params"

Definition at line 33 of file ARService+Private.m.