lib/pagseguro/payment_orders.rb in pagseguro_next-1.0.2 vs lib/pagseguro/payment_orders.rb in pagseguro_next-1.0.3

- old
+ new

@@ -3,11 +3,10 @@ module PagSeguro class PaymentOrders include Restful def fetch(code, params = {}) - params.reverse_merge! status: 5, page: 0 - response = get("/pre-approvals/#{code}/payment-orders", params) + response = get("/pre-approvals/#{code}/payment-orders", params, {}) response.paymentOrders.values || {} end end end