lib/finapps/rest/transactions.rb in finapps-0.6.0.pre vs lib/finapps/rest/transactions.rb in finapps-0.7.0.pre

- old
+ new

@@ -17,9 +17,23 @@ logger.debug "##{__method__.to_s} => Completed" return transactions, error_messages end + # @param [Hash] params + def edit(params={}) + logger.debug "##{__method__.to_s} => Started" + + path = Defaults::END_POINTS[:transactions_list] + + logger.debug "##{__method__.to_s} => path: #{path}" + + transactions, error_messages = @client.send(path, :put, params.compact) + + logger.debug "##{__method__.to_s} => Completed" + return transactions, error_messages + end + end end end \ No newline at end of file