lib/opentransact/asset.rb in opentransact-0.1.0 vs lib/opentransact/asset.rb in opentransact-0.1.1

- old
+ new

@@ -23,10 +23,10 @@ # Perform a transfer (payment) # # @asset.transfer 12, "bob@test.com", "For implementing shopping cart" # def transfer(amount,to,memo=nil) - client.access_token.post(transaction_url,{:amount=>amount,:to=>to,:memo=>memo}) if client + client.post(transaction_url,{:amount=>amount,:to=>to,:memo=>memo}) if client end def name @options["name"] end \ No newline at end of file