       </plan>
       """
 
-    PUT "plans/#{data.code}", xml, (err, res)->
+    PUT "plans/#{data.code}", xml, (err, res) ->
       callback err, unless err then new models.Plan res.plan
 
-  @deletePlan = (data, callback)->
+  @deletePlan = (data, callback) ->
     DEL "plans/#{data.code}", callback
 
   #


  { GET, POST, PUT, DEL } = (require './request') KONFIG.recurly.apiKey

  summarizeErrors = (errors)->
    billing = 0
    for e in errors
      if e.field.indexOf('subscription.account.billing_info') > -1 and ++billing > 2

      </transaction>
      """

    POST 'transactions', xml, (err, res) ->
      callback err, unless err then new models.Transaction res.transaction

  @deleteTransaction = (paymentMethodId, data, callback) ->
    DEL "transactions/#{data.uuid}?amount_in_cents=##{data.amount}", callback
