This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "quadpass", | |
"author": "Ryan Connelly (/humans.txt)", | |
"description": "Online gift cards", | |
"version": "0.0.1-63", | |
"main": "boot.js", | |
"dependencies": { | |
"express": "~2.5.6", | |
"mongoose": "~2.7.0", | |
"mongoose-auth": "git://github.com/rconnelly/mongoose-auth.git", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'json' | |
# JSON parser tag, creating map for use in jekyll markdown | |
# Alex.Heneveld @ Cloudsoft Corp (remove spaces and add the .com) | |
# Released under APL 2.0 | |
# usage: {% jsonball varname from TYPE PARAM %} | |
# | |
# where TYPE is one of {data,var,file,page}, described below |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
STMRestKitConfiguration *config = [STMRestKitConfiguration configuration]; | |
// UserModel is a class which implements the STMMappedObject protocol | |
// this line registers the model | |
NSArray *mappings = [STMObjectMapping defaultMappingsForClasses:[UserModel class], nil]; | |
[config.mappingProvider registerObjectMappings:mappings]; | |
// create a restkit data provider | |
id<STMDataProvider> dataProvider = [STMRestkitDataProvider dataProviderWithConfiguration:config]; |
NewerOlder