lib/balanced/resources.rb in balanced-0.2.3 vs lib/balanced/resources.rb in balanced-0.2.4
- old
+ new
@@ -42,10 +42,10 @@
hold.save
end
def credit amount, description=nil, meta={}, destination_uri=nil
credit = Credit.new(
- :uri => self.debits_uri,
+ :uri => self.credits_uri,
:amount => amount,
:meta => meta,
:description => description,
:destination_uri => destination_uri,
)
\ No newline at end of file