From 3ffac4e77a118ee6ec7d369b0250c11830c2f7e0 Mon Sep 17 00:00:00 2001 From: jessib Date: Tue, 12 Mar 2013 13:32:46 -0700 Subject: Basic functionality for one time transactions using Braintree's transparent redirect API based from https://github.com/braintree/braintree_ruby_examples/tree/master/rails3_tr_checkout (very little changes were required) --- billing/script/rails | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 billing/script/rails (limited to 'billing/script/rails') diff --git a/billing/script/rails b/billing/script/rails new file mode 100755 index 0000000..8bd9c0a --- /dev/null +++ b/billing/script/rails @@ -0,0 +1,8 @@ +#!/usr/bin/env ruby +# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application. + +ENGINE_ROOT = File.expand_path('../..', __FILE__) +ENGINE_PATH = File.expand_path('../../lib/leap_web_billing/engine', __FILE__) + +require 'rails/all' +require 'rails/engine/commands' -- cgit v1.2.3