Class: Pay::Asaas::Api::Payment
- Inherits:
-
Pay::Asaas::ApiClient
- Object
- Pay::Asaas::ApiClient
- Pay::Asaas::Api::Payment
- Defined in:
- lib/pay/asaas/api/payment.rb
Class Method Summary collapse
Methods inherited from Pay::Asaas::ApiClient
all, configure, create, find, headers, request, update
Class Method Details
.fetch_qr_code(processor_id) ⇒ Object
9 10 11 |
# File 'lib/pay/asaas/api/payment.rb', line 9 def self.fetch_qr_code(processor_id) request(:get, "#{resource_key}/#{processor_id}/pixQrCode") end |
.resource_key ⇒ Object
5 6 7 |
# File 'lib/pay/asaas/api/payment.rb', line 5 def self.resource_key "payments" end |