Kill another puts.
This commit is contained in:
parent
a77cc46b4c
commit
0ec65738f1
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue