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
module Nacre | |
module API | |
class ProductServiceResource # Abstract Class | |
def self.api | |
Nacre::Api.global_instance | |
end | |
def self.all | |
search | |
end |
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
TO PAYPAL: | |
https://www.sandbox.paypal.com/cgi-bin/webscr?a3=9&business=seller_1309413530_biz%40gmail.com&cmd=_xclick-subscriptions¤cy_code=USD&invoice=32&item_name=XXX&item_number=XXX¬ify_url=http%3A%2F%2Flocalhost%3A3000%2Fpayment_notifications&p3=1&return=http%3A%2F%2Flocalhost%3A3000%2Fcomplete_registrations%2Fnew%3Fsubscription_id%3D32&src=1&t3=M&upload=1 | |
FROM PAYPAL: | |
GET http://localhost:3000/complete_registrations/new?invoice=30&amount3=9.00&address_status=confirmed&subscr_date=19%3A36%3A44+Jul+28%2C+2011+PDT&payer_id=C3BBVG2KVL9H2&address_street=1+Main+St&mc_amount3=9.00&charset=windows-1252&address_zip=95131&first_name=Test&reattempt=1&address_country_code=US&address_name=Test+User¬ify_version=3.2&subscr_id=I-X1YLB35UYVGM&payer_status=verified&business=seller_1309413530_biz%40gmail.com&address_country=United+States&address_city=San+Jose&verify_sign=AO0VU3VIWAwosaKuXWbwhuA3w02gAMzJXmPnBD8usG-ZtCAREp0aOrm1&payer_email=buyer_1310094558_per%40gmail.com&last_name=User&address_state=CA&receiver |
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
<html> | |
<head> | |
<title>Hello</title> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
<style type="text/css"> | |
html { height: 100% } | |
body { height: 100%; margin: 0px; padding: 0px } | |
</style> | |
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> |
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
// Calculator Constructor | |
var Calculator = function() { | |
//private | |
var q = [0]; | |
var makeRpnFunction = function(op) { | |
return function() { | |
var v1 = q.pop(); | |
if (v1 == undefined) { |
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
Scenario: User is not signed up # features/users/sign_in.feature:6 | |
Given I am not logged in # features/step_definitions/user_steps.rb:69 | |
And no user exists with an email of "user@test.com" # features/step_definitions/user_steps.rb:1 | |
undefined method `add_assertion' for nil:NilClass (NoMethodError) | |
/Users/stupakov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/test/unit/testcase.rb:125:in `add_assertion' | |
/Users/stupakov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/test/unit/assertions.rb:494:in `_wrap_assertion' | |
/Users/stupakov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/test/unit/assertions.rb:46:in `assert_block' | |
/Users/stupakov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/test/unit/assertions.rb:83:in `assert_equal' | |
/Users/stupakov/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/1.8/test/unit/assertions.rb:172:in `assert_nil' | |
./features/step_definitions/user_steps.rb:2:in `/^no user exists with an email of "(.*)"$/' |
NewerOlder