Class: PaymentGateway::Mundipagg::Order

Inherits:
Base
  • Object
show all
Defined in:
lib/payment_gateway/mundipagg/order.rb

Constant Summary

Constants inherited from Base

Base::API_URL

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from PaymentGateway::Mundipagg::Base

Instance Method Details

#create(order_data) ⇒ Object



10
11
12
# File 'lib/payment_gateway/mundipagg/order.rb', line 10

def create(order_data)
  request(:post, mount_url, body: order_data)
end

#listObject



6
7
8
# File 'lib/payment_gateway/mundipagg/order.rb', line 6

def list
  request(:get, mount_url)
end