lib/litle/models/litle_response.rb in killbill-litle-1.1.0 vs lib/litle/models/litle_response.rb in killbill-litle-1.1.1

- old
+ new

@@ -1,7 +1,5 @@ - - module Killbill::Litle class LitleResponse < ActiveRecord::Base has_one :litle_transaction attr_accessible :api_call, :kb_payment_id, @@ -41,10 +39,10 @@ nil else # Litle seems to return the precision sometimes along with the txnId (e.g. 053499651324799+19) # And sometimes it adds a ;credit # TODO Figure out WTF is going on here - ("%f" % potential_litle_txn_id.split(';')[0].split('+')[0]).to_i + potential_litle_txn_id.to_s.split(';')[0].split('+')[0] end end def self.from_response(api_call, kb_payment_id, response) LitleResponse.new({