summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorclaucece <soficeli0@gmail.com>2015-09-16 00:13:01 -0500
committerclaucece <soficeli0@gmail.com>2015-10-05 22:34:21 -0500
commit234cb9af5f11953f93910e79143fcb842e924248 (patch)
tree1aa27a027b13c43df1634d405f562ea2d2316b73 /app
parent0a8b671803c9517ea06d1f6c003db3bf16aed1d2 (diff)
added payment_info, _customer_form, sucess instances
Diffstat (limited to 'app')
-rw-r--r--app/models/user.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 3daee0f..b5bbadf 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -177,6 +177,10 @@ class User < CouchRest::Model::Base
end
+ def has_payment_info?
+ braintree_customer_id
+ end
+
protected
##