Sha256: 802631e3552d19c77d1af0bae79013c3f4207df9de2933c202d7045dc0ec17d6
Contents?: true
Size: 301 Bytes
Versions: 2
Compression:
Stored size: 301 Bytes
Contents
# frozen_string_literal: true 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.paymentOrders.values || {} end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pagseguro_next-1.0.2 | lib/pagseguro/payment_orders.rb |
pagseguro_next-1.0.1 | lib/pagseguro/payment_orders.rb |