This file contains 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
PopupConfirmationViewController *vc = [PopupConfirmationViewController popup:kPopupConfirmationTypeApproved delegate:self]; | |
vc.ppsPayment = self.ppsPayment; // Optional | |
vc.message = @"Custom Message Here"; // Optional | |
[vc showWithVC:self]; |
This file contains 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
-(void) fetchCustomerForPayment | |
{ | |
// Retrieve Customer associated with a self.ppsPayment | |
[MMProgressHUD showWithTitle:@"Looking for customer information..."]; | |
[self.ppsPayment getCustomerWithCompletion:^(BOOL success, PPSCustomer *customer, NSError *error) { | |
self.customer = customer; | |
if (success) { |
This file contains 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
{ | |
"author": "Ryan Connelly <ryan@quad.io> (http://quad.io)", | |
"name": "shopnode", | |
"description": "A complete node client for the shopify api.", | |
"version": "0.0.2", | |
"homepage": "http://quad.io", | |
"main": "lib/shopnode.js", | |
"scripts": { | |
"test": "make test" | |
}, |
This file contains 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
language: node_js | |
node_js: | |
- 0.6 | |
notifications: | |
email: | |
- ryan@quad.io | |
This file contains 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
{ | |
"author": "Ryan Connelly <ryan@quad.io> (http://quad.io)", | |
"name": "shopnode", | |
"description": "A complete node client for the shopify api.", | |
"version": "0.0.2", | |
"homepage": "http://quad.io", | |
"main": "lib/shopnode.js", | |
"scripts": { | |
"test": "make test" | |
}, |
This file contains 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
{ | |
"glob": ["lib/**/*.js", "examples/**/*.js", "examples/README.md", "README.md"], | |
"github": true | |
} |
This file contains 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": "test1", | |
"version": "0.0.0", | |
"description": "Test example", | |
"main": "test1.js", | |
"scripts": { | |
"test": "vows test1 --spec" | |
}, | |
"repository": "", | |
"keywords": [ |
This file contains 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
var vows = require('vows'), | |
assert = require('assert'); | |
// Create a Test Suite | |
vows.describe('Divide and Multiply').addBatch({ | |
'when multiplying 2 by 2': { // Context (batch 1) | |
topic: function () { return 2 * 2; }, | |
'we get four': function (topic) { // Vow w/Topic arg | |
assert.equal (topic, 4); // Async |
This file contains 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": "test1", | |
"version": "0.0.0", | |
"description": "Test example", | |
"main": "test1.js", | |
"scripts": { | |
"test": "node test1" | |
}, | |
"repository": "", | |
"keywords": [ |
This file contains 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": "test1", | |
"version": "0.0.0", | |
"description": "Test example", | |
"main": "test1.js", | |
"scripts": { | |
"test": "node test1" | |
}, | |
"repository": "", | |
"keywords": [ |
NewerOlder