lib/finapps/rest/transactions.rb in finapps-1.0.6 vs lib/finapps/rest/transactions.rb in finapps-1.0.7

- old
+ new

@@ -6,14 +6,14 @@ # @transaction_id [String] # # @return [Hash, Array<String>] def show(transaction_id) end_point = Defaults::END_POINTS[:transactions_show] - logger.debug "##{__method__.to_s} => end_point: #{end_point}" + logger.debug "##{__method__} => end_point: #{end_point}" path = end_point.sub ':transaction_id', ERB::Util.url_encode(transaction_id) - logger.debug "##{__method__.to_s} => path: #{path}" + logger.debug "##{__method__} => path: #{path}" transaction, error_messages = client.send_request(path, :get) return transaction, error_messages end @@ -21,20 +21,20 @@ # @return [Array<Hash>, Array<String>] def search(params={}) end_point = Defaults::END_POINTS[:transactions_list] path = end_point - logger.debug "##{__method__.to_s} => path: #{path}" + logger.debug "##{__method__} => path: #{path}" transactions, error_messages = client.send_request(path, :post, params.compact) return transactions, error_messages end # @param [Hash] params # @return [Array<Hash>, Array<String>] def update(params={}) path = Defaults::END_POINTS[:transactions_update] - logger.debug "##{__method__.to_s} => path: #{path}" + logger.debug "##{__method__} => path: #{path}" _, error_messages = client.send_request(path, :put, params.compact) error_messages end \ No newline at end of file