Kill another puts.

This commit is contained in:
Steven Miers 2014-12-01 11:59:15 -06:00
parent a77cc46b4c
commit 0ec65738f1
1 changed files with 3 additions and 5 deletions

View File

@ -11,7 +11,7 @@ module JamRuby
account = Recurly::Account.create(options)
raise RecurlyClientError.new(account.errors) if account.errors.any?
rescue Recurly::Error, NoMethodError => x
puts "Errorrr: #{x.inspect}"
puts
raise RecurlyClientError, x.to_s
else
if account
@ -56,10 +56,8 @@ module JamRuby
account = get_account(current_user)
if (account.present?)
begin
account.billing_info=billing_info
puts "Saving..."
account.billing_info.save
puts "...saved"
account.billing_info=billing_info
account.billing_info.save
rescue Recurly::Error, NoMethodError => x
raise RecurlyClientError, x.to_s
end