Class: PagSeguro::PaymentOrders
- Inherits:
-
Object
- Object
- PagSeguro::PaymentOrders
- Includes:
- Restful
- Defined in:
- lib/pagseguro/payment_orders.rb
Instance Attribute Summary
Attributes included from Restful
Instance Method Summary collapse
Methods included from Restful
Instance Method Details
#fetch(code, params = {}) ⇒ Object
7 8 9 10 |
# File 'lib/pagseguro/payment_orders.rb', line 7 def fetch(code, params = {}) response = get("/pre-approvals/#{code}/payment-orders", params, {}) response.paymentOrders.values || {} end |